r60080 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60079‎ | r60080 | r60081 >
Date:17:24, 15 December 2009
Author:maxsem
Status:ok
Tags:
Comment:
Backported r57862 to 1.15 (bug 20880, updater failure on SQLite backend)
Modified paths:
  • /branches/REL1_15/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_15/phase3/maintenance/updaters.inc (modified) (history)

Diff [purge]

Index: branches/REL1_15/phase3/maintenance/updaters.inc
@@ -1221,7 +1221,8 @@
12221222
12231223 function sqlite_initial_indexes() {
12241224 global $wgDatabase;
1225 - if ( update_row_exists( 'initial_indexes' ) ) {
 1225+ // initial-indexes.sql fails if the indexes are already present, so we perform a quick check if our database is newer.
 1226+ if ( update_row_exists( 'initial_indexes' ) || $wgDatabase->indexExists( 'user', 'user_name' ) ) {
12261227 wfOut( "...have initial indexes\n" );
12271228 return;
12281229 }
Index: branches/REL1_15/phase3/RELEASE-NOTES
@@ -8,6 +8,7 @@
99 * (bug 20239) MediaWiki:Imagemaxsize does not contain anymore a <br /> tag which
1010 was displayed to the user
1111 * (bug 21150) SQLite no longer raise an error when deleting files
 12+* (bug 20880) Fixed updater failure on SQLite backend
1213
1314 === Changes since 1.15.1 ===
1415

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57862(bug 20880) Fixed updater failure on SQLite backendmaxsem17:21, 17 October 2009

Status & tagging log