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

4.7.x
Dries Buytaert 2005-11-18 14:05:38 +00:00
parent 5b4ebcdb25
commit 6a7e45d008
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ function update_113() {
uid integer default '0', uid integer default '0',
timestamp integer NOT NULL 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("DROP TABLE {accesslog}_t");
$ret[] = update_sql("CREATE INDEX {accesslog}_timestamp_idx ON {accesslog} (timestamp);"); $ret[] = update_sql("CREATE INDEX {accesslog}_timestamp_idx ON {accesslog} (timestamp);");