r22545 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22544‎ | r22545 | r22546 >
Date:21:29, 29 May 2007
Author:greg
Status:old
Tags:
Comment:
Tweak indexes.
Modified paths:
  • /trunk/extensions/CheckUser/cu_changes.pg.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/CheckUser/cu_changes.pg.sql
@@ -27,8 +27,6 @@
2828 cuc_agent TEXT
2929 );
3030
31 -CREATE INDEX cu_changes_timestamp ON cu_changes(cuc_timestamp);
32 -CREATE INDEX cu_changes_user ON cu_changes(cuc_user);
33 -CREATE INDEX cu_changes_iphex ON cu_changes(cuc_ip_hex, cuc_xff_hex);
 31+CREATE INDEX cu_changes_index ON cu_changes(cuc_user, cuc_ip_hex, cuc_xff_hex, cuc_timestamp);
3432
3533 COMMIT;