From 6a7e45d0087f7cedb1e73f0c390484cfed1de472 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 18 Nov 2005 14:05:38 +0000 Subject: - Patch #37824 by zen: added missing {} to SQL queries in updates.inc. --- database/updates.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'database') diff --git a/database/updates.inc b/database/updates.inc index 8463ddc3e..006a57ba2 100644 --- a/database/updates.inc +++ b/database/updates.inc @@ -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);"); -- cgit v1.2.3