diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-06-25 17:47:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-06-25 17:47:22 +0000 |
commit | 7e52847ae90984d482ad7af3372a46c0d1435014 (patch) | |
tree | 29f248d79721fb0509a984348a13cddf92b1703b /modules/update | |
parent | f56b384be0b3e7b56096f3036a3c9d7b731d2862 (diff) | |
download | brdo-7e52847ae90984d482ad7af3372a46c0d1435014.tar.gz brdo-7e52847ae90984d482ad7af3372a46c0d1435014.tar.bz2 |
- Patch #690746 by jbrown, Ognyan Kulev, Crell, MichaelCole, Damien Tournoud: text column type doesn't reliably hold serialized variables.
Diffstat (limited to 'modules/update')
-rw-r--r-- | modules/update/update.install | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/modules/update/update.install b/modules/update/update.install index 5bc855847..417f8eeca 100644 --- a/modules/update/update.install +++ b/modules/update/update.install @@ -160,6 +160,11 @@ function _update_requirement_check($project, $type) { } /** + * @defgroup updates-6.x-to-7.x Filter updates from 6.x to 7.x + * @{ + */ + +/** * Create a queue to store tasks for requests to fetch available update data. */ function update_update_7000() { @@ -169,8 +174,19 @@ function update_update_7000() { } /** - * Remove {cache_update}.headers column. + * Recreates cache_update table. + * + * Converts fields that hold serialized variables from text to blob. + * Removes 'headers' column. */ function update_update_7001() { - db_drop_field('cache_update', 'headers'); + $schema = system_schema_cache_7054(); + + db_drop_table('cache_update'); + db_create_table('cache_update', $schema); } + +/** + * @} End of "defgroup updates-6.x-to-7.x" + * The next series of updates should start at 8000. + */ |