Remove ur_user index. We can just use the user_namespace to load all blocked namespac...
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 31 Dec 2008 18:51:48 +0000 (18:51 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 31 Dec 2008 18:51:48 +0000 (18:51 +0000)
maintenance/archives/patch-user_restrictions.sql

index b64146f..535b9cd 100644 (file)
@@ -29,7 +29,6 @@ CREATE TABLE /*$wgDBprefix*/user_restrictions (
 
        PRIMARY KEY ur_id (ur_id),
        -- For looking up restrictions for user and title
-       INDEX ur_user (ur_user),
        INDEX ur_user_page(ur_user,ur_page_namespace,ur_page_title(255)),
        INDEX ur_user_namespace(ur_user,ur_namespace),
        -- For Special:ListUserRestrictions