- Patch #37824 by zen: added missing {} to SQL queries in updates.inc.
parent
5b4ebcdb25
commit
6a7e45d008
|
@ -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);");
|
||||||
|
|
Loading…
Reference in New Issue