summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-09-07 08:09:30 +0000
committerDries Buytaert <dries@buytaert.net>2006-09-07 08:09:30 +0000
commit837a314def7dce88a6e561a6b8c332d429ae35dc (patch)
tree85e2cd0e548cfc3a8beb1297c9a1a3827dbef72e
parentce7adc62e09a5e07dd4cf568b399ecd57018119a (diff)
downloadbrdo-837a314def7dce88a6e561a6b8c332d429ae35dc.tar.gz
brdo-837a314def7dce88a6e561a6b8c332d429ae35dc.tar.bz2
- Patch #82823 by dww: fixed improper quoting in db_add_column(). Fixes PostgreSQL upgrade path.
-rw-r--r--modules/system/system.install2
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.