Index: trunk/phase3/maintenance/archives/patch-user_email_index.sql |
— | — | @@ -1 +1 @@ |
2 | | - ALTER TABLE /*$wgDBprefix*/user ADD INDEX ( `user_email`, `user_name` ); |
\ No newline at end of file |
| 2 | + ALTER TABLE /*$wgDBprefix*/user ADD INDEX ( `user_email`(50), `user_name` ); |
\ No newline at end of file |
Index: trunk/phase3/maintenance/tables.sql |
— | — | @@ -135,6 +135,7 @@ |
136 | 136 | |
137 | 137 | CREATE UNIQUE INDEX /*i*/user_name ON /*_*/user (user_name); |
138 | 138 | CREATE INDEX /*i*/user_email_token ON /*_*/user (user_email_token); |
| 139 | +CREATE INDEX /*i*/user_email ON /*_*/user (user_email(50),user_name); |
139 | 140 | |
140 | 141 | |
141 | 142 | -- |