diff options
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 33f4c4d3a63..9a4be939603 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -1061,7 +1061,7 @@ function system_schema() { 'default' => 0), 'session' => array( 'description' => 'The serialized contents of $_SESSION, an array of name/value pairs that persists across page requests by this session ID. Drupal loads $_SESSION from here at the start of each request and saves it at the end.', - 'type' => 'text', + 'type' => 'blob', 'not null' => FALSE, 'size' => 'big') ), @@ -2737,6 +2737,15 @@ function system_update_6055() { } /** + * Convert {session} data storage to blob. + */ +function system_update_6056() { + $ret = array(); + db_change_field($ret, 'sessions', 'session', 'session', array('type' => 'blob', 'not null' => FALSE, 'size' => 'big')); + return $ret; +} + +/** * @} End of "defgroup updates-6.x-extra". * The next series of updates should start at 7000. */ |