summaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-14 14:04:13 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-14 14:04:13 +0000
commitc13835780938a64deaf7fce6b3e644991684bc2b (patch)
treef06d9b1a83aca3ef9de12202edbc4a10567ff922 /database
parent0e3f8f97ebdfba67b9a3ebee845776374e7bb873 (diff)
downloadbrdo-c13835780938a64deaf7fce6b3e644991684bc2b.tar.gz
brdo-c13835780938a64deaf7fce6b3e644991684bc2b.tar.bz2
#39755, MySQL Database scripts - Replace blocks statements fail with latest MySQL. Patch by drumm.
Diffstat (limited to 'database')
-rw-r--r--database/database.mysql6
1 files changed, 3 insertions, 3 deletions
diff --git a/database/database.mysql b/database/database.mysql
index 78b7f5865..4de99a289 100644
--- a/database/database.mysql
+++ b/database/database.mysql
@@ -900,10 +900,10 @@ INSERT INTO role (rid, name) VALUES (2, 'authenticated user');
INSERT INTO permission VALUES (1,'access content',0);
INSERT INTO permission VALUES (2,'access comments, access content, post comments, post comments without approval',0);
-REPLACE variable SET name='theme_default', value='s:10:"bluemarine";';
+INSERT INTO variable (name, value) VALUES ('theme_default', 's:10:"bluemarine";');
-REPLACE blocks SET module = 'user', delta = '0', theme = 'bluemarine', status = '1';
-REPLACE blocks SET module = 'user', delta = '1', theme = 'bluemarine', status = '1';
+INSERT INTO blocks (module, delta, theme, status, pages) VALUES ('user', '0', 'bluemarine', '1', '');
+INSERT INTO blocks (module, delta, theme, status, pages) VALUES ('user', '1', 'bluemarine', '1', '');
INSERT INTO sequences (name, id) VALUES ('menu_mid', 2);