diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-08-06 20:15:32 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-08-06 20:15:32 +0000 |
commit | 9bbdb71ee4ccc1cf5433d8c21c8d96f668f81d2b (patch) | |
tree | cfdc8bbe28cf0bf27b269e743c263c9cb560083f /database | |
parent | f037130086076c5f652ca298f4c859f9f4d9fb6c (diff) | |
download | brdo-9bbdb71ee4ccc1cf5433d8c21c8d96f668f81d2b.tar.gz brdo-9bbdb71ee4ccc1cf5433d8c21c8d96f668f81d2b.tar.bz2 |
- Patch #9330: ucfirst() gives problem when used with multibyte charset.
Replaced the use of ucfirst() with a CSS-based solution.
Diffstat (limited to 'database')
-rw-r--r-- | database/database.pgsql | 2 | ||||
-rw-r--r-- | database/updates.inc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/database/database.pgsql b/database/database.pgsql index d59fa6e6b..289a2e275 100644 --- a/database/database.pgsql +++ b/database/database.pgsql @@ -354,7 +354,7 @@ CREATE TABLE node_access ( grant_update smallint NOT NULL default '0', grant_delete smallint NOT NULL default '0', PRIMARY KEY (nid,gid,realm) -); +); -- diff --git a/database/updates.inc b/database/updates.inc index 21010b747..3d7f408e9 100644 --- a/database/updates.inc +++ b/database/updates.inc @@ -1113,7 +1113,7 @@ function update_88() { $ret[] = update_sql("ALTER TABLE {menu} DROP status"); $ret[] = update_sql("ALTER TABLE {menu} DROP visibility"); $ret[] = update_sql("ALTER TABLE {menu} ADD type INT(2) UNSIGNED DEFAULT '0' NOT NULL"); - } + } else { $ret[] = update_sql("ALTER TABLE {menu} ADD type smallint"); $ret[] = update_sql("ALTER TABLE {menu} ALTER COLUMN type SET DEFAULT '0'"); @@ -1126,7 +1126,7 @@ function update_88() { function update_89() { $ret = array(); - + if ($GLOBALS['db_type'] == 'mysql') { $ret[] = update_sql("ALTER TABLE {node} CHANGE static sticky INT(2) DEFAULT '0' NOT NULL"); } |