Index: modules/system/system.install =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.install,v retrieving revision 1.51 diff -u -p -r1.51 system.install --- modules/system/system.install 1 Dec 2006 08:07:12 -0000 1.51 +++ modules/system/system.install 1 Dec 2006 08:25:49 -0000 @@ -561,7 +561,7 @@ function system_install() { message longtext NOT NULL, severity tinyint unsigned NOT NULL default '0', link varchar(255) NOT NULL default '', - location text NOT NULL default '', + location text NOT NULL, referer varchar(128) NOT NULL default '', hostname varchar(128) NOT NULL default '', timestamp int NOT NULL default '0', @@ -3376,7 +3376,7 @@ function system_update_1016() { switch ($GLOBALS['db_type']) { case 'mysql': case 'mysqli': - $ret[] = update_sql("ALTER TABLE {watchdog} CHANGE COLUMN location location text NOT NULL default ''"); + $ret[] = update_sql("ALTER TABLE {watchdog} CHANGE COLUMN location location text NOT NULL"); break; case 'pgsql': db_change_column($ret, 'watchdog', 'location', 'location', 'text', array('not null' => TRUE, 'default' => "''"));