From a94f95d37f1c76812e003852156ed52f97976d2b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 6 Dec 2006 15:36:23 +0000 Subject: [PATCH] - Patch #101421 by webchick: make sure that Drupal installs when MySQL's strict mode is enabled. --- modules/system/system.install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/system.install b/modules/system/system.install index dc4f33434fd..c5dfe113248 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -1050,8 +1050,8 @@ function system_install() { db_query("INSERT INTO {variable} (name,value) VALUES('theme_default', 's:7:\"garland\";')"); - db_query("INSERT INTO {blocks} (module,delta,theme,status) VALUES('user', 0, 'garland', 1)"); - db_query("INSERT INTO {blocks} (module,delta,theme,status) VALUES('user', 1, 'garland', 1)"); + db_query("INSERT INTO {blocks} (module,delta,theme,status,pages) VALUES('user', 0, 'garland', 1, '')"); + db_query("INSERT INTO {blocks} (module,delta,theme,status,pages) VALUES('user', 1, 'garland', 1, '')"); db_query("INSERT INTO {node_access} VALUES (0, 0, 'all', 1, 0, 0)");