Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.238.2.1
diff -u -r1.238.2.1 system.install
--- modules/system/system.install	8 Feb 2008 17:07:55 -0000	1.238.2.1
+++ modules/system/system.install	27 Feb 2008 23:35:56 -0000
@@ -677,13 +677,13 @@
       'load_functions' => array(
         'description' => t('A serialized array of function names (like node_load) to be called to load an object corresponding to a part of the current path.'),
         'type' => 'varchar',
-        'length' => 255,
+        'length' => 1024,
         'not null' => TRUE,
         'default' => ''),
       'to_arg_functions' => array(
         'description' => t('A serialized array of function names (like user_current_to_arg) to be called to replace a part of the router path with another string.'),
         'type' => 'varchar',
-        'length' => 255,
+        'length' => 1024,
         'not null' => TRUE,
         'default' => ''),
       'access_callback' => array(
@@ -2512,6 +2512,16 @@
 }
 
 /**
+ * Increase the size of the 'load_functions' and 'to_arg_functions' fields in table 'menu_router'.
+ */
+function system_update_6048() {
+  $ret = array();
+  db_change_field($ret, 'menu_router', 'load_functions', 'load_functions', array('type' => 'varchar', 'length' => 1024, 'not null' => TRUE, 'default' => ''));
+  db_change_field($ret, 'menu_router', 'to_arg_functions', 'to_arg_functions', array('type' => 'varchar', 'length' => 1024, 'not null' => TRUE, 'default' => ''));
+  return $ret;
+}
+
+/**
  * @} End of "defgroup updates-5.x-to-6.x"
  * The next series of updates should start at 7000.
  */
