r90125 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90124‎ | r90125 | r90126 >
Date:17:57, 15 June 2011
Author:maxsem
Status:ok
Tags:
Comment:
SQLite support for r86485
Modified paths:
  • /trunk/phase3/includes/installer/SqliteUpdater.php (modified) (history)
  • /trunk/phase3/maintenance/archives/patch-user_email_index.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-user_email_index.sql
@@ -1 +1 @@
2 - ALTER TABLE /*$wgDBprefix*/user ADD INDEX ( `user_email`(50), `user_name` );
\ No newline at end of file
 2+CREATE INDEX /*i*/user_email ON /*_*/user (user_email(50),user_name);
\ No newline at end of file
Index: trunk/phase3/includes/installer/SqliteUpdater.php
@@ -55,6 +55,9 @@
5656 array( 'dropIndex', 'archive', 'ar_page_revid', 'patch-archive_kill_ar_page_revid.sql' ),
5757 array( 'addIndex', 'archive', 'ar_revid', 'patch-archive_ar_revid.sql' ),
5858
 59+ // 1.18
 60+ array( 'addIndex', 'user', 'user_email', 'patch-user_email_index.sql' ),
 61+
5962 // 1.19
6063 array( 'addTable', 'config', 'patch-config.sql' ),
6164 );

Follow-up revisions

RevisionCommit summaryAuthorDate
r92348MFT to REL1_18:...hashar08:57, 16 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86485Follow-up r86482: patch to add an index on user_email. Not a problem if this...happy-melon15:33, 20 April 2011

Status & tagging log