Commit 6a7e45d0 authored by Dries's avatar Dries

- Patch #37824 by zen: added missing {} to SQL queries in updates.inc.

parent 5b4ebcdb
......@@ -245,7 +245,7 @@ function update_113() {
uid integer default '0',
timestamp integer NOT NULL default '0'
)");
$ret[] = update_sql("INSERT INTO accesslog (title, path, url, hostname, uid, timestamp) SELECT title, path, url, hostname, uid, timestamp FROM accesslog_t");
$ret[] = update_sql("INSERT INTO {accesslog} (title, path, url, hostname, uid, timestamp) SELECT title, path, url, hostname, uid, timestamp FROM {accesslog}_t");
$ret[] = update_sql("DROP TABLE {accesslog}_t");
$ret[] = update_sql("CREATE INDEX {accesslog}_timestamp_idx ON {accesslog} (timestamp);");
......
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