summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-recentchanges-utindex.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/archives/patch-recentchanges-utindex.sql')
-rw-r--r--maintenance/archives/patch-recentchanges-utindex.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/maintenance/archives/patch-recentchanges-utindex.sql b/maintenance/archives/patch-recentchanges-utindex.sql
new file mode 100644
index 00000000..4ebe3165
--- /dev/null
+++ b/maintenance/archives/patch-recentchanges-utindex.sql
@@ -0,0 +1,4 @@
+--- July 2006
+--- Index on recentchanges.( rc_namespace, rc_user_text )
+--- Helps the username filtering in Special:Newpages
+ALTER TABLE /*$wgDBprefix*/recentchanges ADD INDEX `rc_ns_usertext` ( `rc_namespace` , `rc_user_text` ); \ No newline at end of file