diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-05-24 14:31:36 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-05-24 14:31:36 +0000 |
commit | 17e5b5c2d792fea207173c23bb76636297a21a03 (patch) | |
tree | b12b53d2de57af9becd243d5329c6293fe9027f2 /update.php | |
parent | d592f76565373181afa15d99c976d168b93f6365 (diff) | |
download | brdo-17e5b5c2d792fea207173c23bb76636297a21a03.tar.gz brdo-17e5b5c2d792fea207173c23bb76636297a21a03.tar.bz2 |
- Changed the type of the string fields in the locale table to BLOB.
This fixes bug #987. For PostgreSQL this is not required because
its string comparisons are case-senitive. Not idea about MSSQL.
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/update.php b/update.php index c949e2bbf..1a6efa586 100644 --- a/update.php +++ b/update.php @@ -65,7 +65,8 @@ $mysql_updates = array( "2003-01-15" => "update_50", "2003-04-19" => "update_51", "2003-04-20" => "update_52", - "2003-05-18" => "update_53" + "2003-05-18" => "update_53", + "2003-05-24" => "update_54" ); // Update functions @@ -709,6 +710,10 @@ function update_53() { update_sql("CREATE INDEX book_parent ON book(parent);"); } +function update_54() { + update_sql("ALTER TABLE locales CHANGE string string BLOB DEFAULT '' NOT NULL"); +} + function update_upgrade3() { update_sql("INSERT INTO system VALUES ('archive.module','archive','module','',1)"); update_sql("INSERT INTO system VALUES ('block.module','block','module','',1)"); |