diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-09-07 08:09:30 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-09-07 08:09:30 +0000 |
commit | 837a314def7dce88a6e561a6b8c332d429ae35dc (patch) | |
tree | 85e2cd0e548cfc3a8beb1297c9a1a3827dbef72e /modules/system | |
parent | ce7adc62e09a5e07dd4cf568b399ecd57018119a (diff) | |
download | brdo-837a314def7dce88a6e561a6b8c332d429ae35dc.tar.gz brdo-837a314def7dce88a6e561a6b8c332d429ae35dc.tar.bz2 |
- Patch #82823 by dww: fixed improper quoting in db_add_column(). Fixes PostgreSQL upgrade path.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 4ed676c5a..94eae44a7 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -3237,7 +3237,7 @@ function system_update_1006() { $ret[] = update_sql("ALTER TABLE {blocks} ADD title VARCHAR(64) NOT NULL DEFAULT ''"); break; case 'pgsql': - db_add_column($ret, 'blocks', 'title', 'varchar(64)', array('default' => '', 'not null' => TRUE)); + db_add_column($ret, 'blocks', 'title', 'varchar(64)', array('default' => "''", 'not null' => TRUE)); break; } // Migrate custom block titles to new column. |