Commit 0b15fd47 authored by Dries's avatar Dries
Browse files

- Patch #9740 by Bart: added missing {} for table prefixing.
parent c0f6fcca
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment