summaryrefslogtreecommitdiff
path: root/database/updates.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-12-13 18:49:47 +0000
committerDries Buytaert <dries@buytaert.net>2005-12-13 18:49:47 +0000
commitdd2fdd128dfb5998479f9edf89d0cfa3afe53fbd (patch)
tree98fb537b3d407731e93593bacf05019cf47501d9 /database/updates.inc
parentccb3fa0219643d98d08fdd26dddecfa2dbb5e3b5 (diff)
downloadbrdo-dd2fdd128dfb5998479f9edf89d0cfa3afe53fbd.tar.gz
brdo-dd2fdd128dfb5998479f9edf89d0cfa3afe53fbd.tar.bz2
- Patch #40532 by wtanaka: use longblog for data in the cache. Is reported to fix utf-8 problems and improves consistency with PostgreSQL.
Diffstat (limited to 'database/updates.inc')
-rw-r--r--database/updates.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/database/updates.inc b/database/updates.inc
index 6dbc04368..a44580c18 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -1273,3 +1273,10 @@ function system_update_162() {
return $ret;
}
+function system_update_163() {
+ $ret = array();
+ if ($GLOBALS['db_type'] == 'mysql') {
+ $ret[] = update_sql('ALTER TABLE {cache} CHANGE data data LONGBLOB');
+ }
+ return $ret;
+}