Index: system.install =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.install,v retrieving revision 1.69.2.4 diff -u -p -r1.69.2.4 system.install --- system.install 19 Jul 2007 05:39:25 -0000 1.69.2.4 +++ system.install 20 Jul 2007 21:17:51 -0000 @@ -3513,6 +3513,21 @@ function system_update_1022() { } /** + * Update watchdog table to change referer field to a text field instead of varchar(128) + * Changing this for mysql only because pgsql already has this change (see system_update_162) + */ +function system_update_1023() { + $ret = array(); + switch ($GLOBALS['db_type']) { + case 'mysql': + case 'mysqli': + $ret[] = update_sql("ALTER TABLE {watchdog} MODIFY referer TEXT NOT NULL"); + break; + } + return $ret; +} + +/** * @} End of "defgroup updates-5.x-extra" */