From 0b15fd476a6af8b8742a48614095e9ecb6a4b08f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 4 Aug 2004 17:38:24 +0000 Subject: [PATCH] - Patch #9740 by Bart: added missing {} for table prefixing. --- database/updates.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/updates.inc b/database/updates.inc index 6f86f9e4f65..7eddd291011 100644 --- a/database/updates.inc +++ b/database/updates.inc @@ -1192,7 +1192,7 @@ function update_94() { function update_95() { $ret = array(); - $ret[] = update_sql("CREATE TABLE node_access ( + $ret[] = update_sql("CREATE TABLE {node_access} ( nid int(10) unsigned NOT NULL default '0', gid int(10) unsigned NOT NULL default '0', realm varchar(255) NOT NULL default '', @@ -1201,7 +1201,7 @@ function update_95() { grant_delete tinyint(1) unsigned NOT NULL default '0', PRIMARY KEY (nid,gid,realm) )"); - $ret[] = update_sql("INSERT INTO node_access VALUES (0, 0, 'all', 1, 0, 0);"); + $ret[] = update_sql("INSERT INTO {node_access} VALUES (0, 0, 'all', 1, 0, 0);"); return $ret; }