- Patch #9740 by Bart: added missing {} for table prefixing.

4.5.x
Dries Buytaert 2004-08-04 17:38:24 +00:00
parent c0f6fccac3
commit 0b15fd476a
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}