r88826 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88825‎ | r88826 | r88827 >
Date:19:54, 25 May 2011
Author:reedy
Status:ok
Tags:
Comment:
Make addition of indexes take account of dbprefix
Modified paths:
  • /trunk/extensions/ShortUrl/schemas/shorturls.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/ShortUrl/schemas/shorturls.sql
@@ -8,5 +8,5 @@
99 PRIMARY KEY (su_id)
1010 ) /*$wgDBTableOptions*/;
1111
12 -CREATE INDEX /*i*/su_id ON shorturls (su_id);
13 -CREATE INDEX /*i*/su_title ON shorturls (su_namespace, su_title);
 12+CREATE INDEX /*i*/su_id ON /*_*/shorturls (su_id);
 13+CREATE INDEX /*i*/su_title ON /*_*/shorturls (su_namespace, su_title);

Status & tagging log