From: Tim Starling Date: Mon, 8 Jun 2009 06:11:29 +0000 (+0000) Subject: Renamed indexes, new indexes must be prefixed to avoid conflicts in SQLite's global... X-Git-Tag: 1.31.0-rc.0~41453 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=721b14ab5677498ff89bf00c5d728a1bd9801494;p=lhc%2Fweb%2Fwiklou.git Renamed indexes, new indexes must be prefixed to avoid conflicts in SQLite's global index namespace. These indexes are not in tables.sql or any USE INDEX yet. --- diff --git a/maintenance/archives/patch-log_user_text.sql b/maintenance/archives/patch-log_user_text.sql index 0ece6f1242..9f6ed4cfb5 100644 --- a/maintenance/archives/patch-log_user_text.sql +++ b/maintenance/archives/patch-log_user_text.sql @@ -4,5 +4,5 @@ ALTER TABLE /*$wgDBprefix*/logging CHANGE log_type log_type varbinary(32) NOT NULL, CHANGE log_action log_action varbinary(32) NOT NULL; -CREATE INDEX /*i*/user_type_time ON /*_*/logging (log_user, log_type, log_timestamp); -CREATE INDEX /*i*/page_id_time ON /*_*/logging (log_page,log_timestamp); +CREATE INDEX /*i*/log_user_type_time ON /*_*/logging (log_user, log_type, log_timestamp); +CREATE INDEX /*i*/log_page_id_time ON /*_*/logging (log_page,log_timestamp);