? modules/syndication Index: modules/dblog/dblog.install =================================================================== RCS file: /cvs/drupal/drupal/modules/dblog/dblog.install,v retrieving revision 1.8 diff -u -p -r1.8 dblog.install --- modules/dblog/dblog.install 21 Aug 2008 19:36:37 -0000 1.8 +++ modules/dblog/dblog.install 10 Oct 2008 06:08:02 -0000 @@ -75,10 +75,8 @@ function dblog_schema() { 'description' => t('URL of the origin of the event.'), ), 'referer' => array( - 'type' => 'varchar', - 'length' => 128, + 'type' => 'text', 'not null' => FALSE, - 'default' => '', 'description' => t('URL of referring page.'), ), 'hostname' => array( @@ -105,11 +103,11 @@ function dblog_schema() { } /** - * Allow NULL values for links. + * Allow NULL values for links and allow longer referrers. */ function dblog_update_7001() { $ret = array(); db_change_field($ret, 'watchdog', 'link', 'link', array('type' => 'varchar', 'length' => 255, 'not null' => FALSE, 'default' => '')); - db_change_field($ret, 'watchdog', 'referer', 'referer', array('type' => 'varchar', 'length' => 255, 'not null' => FALSE, 'default' => '')); + db_change_field($ret, 'watchdog', 'referer', 'referer', array('type' => 'text', 'not null' => FALSE)); return $ret; } Index: modules/statistics/statistics.install =================================================================== RCS file: /cvs/drupal/drupal/modules/statistics/statistics.install,v retrieving revision 1.13 diff -u -p -r1.13 statistics.install --- modules/statistics/statistics.install 18 Dec 2007 12:59:22 -0000 1.13 +++ modules/statistics/statistics.install 10 Oct 2008 06:08:02 -0000 @@ -76,8 +76,7 @@ function statistics_schema() { 'description' => t('Internal path to page visited (relative to Drupal root.)'), ), 'url' => array( - 'type' => 'varchar', - 'length' => 255, + 'type' => 'text', 'not null' => FALSE, 'description' => t('Referrer URI.'), ), @@ -119,3 +118,12 @@ function statistics_schema() { return $schema; } +/** + * Allow longer referrers. + */ +function statistics_update_7000() { + $ret = array(); + db_change_field($ret, 'accesslog', 'url', 'url', array('type' => 'text', 'not null' => FALSE)); + return $ret; +} +}