From c13835780938a64deaf7fce6b3e644991684bc2b Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> Date: Tue, 14 Mar 2006 14:04:13 +0000 Subject: [PATCH] #39755, MySQL Database scripts - Replace blocks statements fail with latest MySQL. Patch by drumm. --- database/database.mysql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/database.mysql b/database/database.mysql index 78b7f58654ae..4de99a289600 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); -- GitLab