Index: branches/REL1_15/phase3/maintenance/updaters.inc |
— | — | @@ -1221,7 +1221,8 @@ |
1222 | 1222 | |
1223 | 1223 | function sqlite_initial_indexes() { |
1224 | 1224 | 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' ) ) { |
1226 | 1227 | wfOut( "...have initial indexes\n" ); |
1227 | 1228 | return; |
1228 | 1229 | } |
Index: branches/REL1_15/phase3/RELEASE-NOTES |
— | — | @@ -8,6 +8,7 @@ |
9 | 9 | * (bug 20239) MediaWiki:Imagemaxsize does not contain anymore a <br /> tag which |
10 | 10 | was displayed to the user |
11 | 11 | * (bug 21150) SQLite no longer raise an error when deleting files |
| 12 | +* (bug 20880) Fixed updater failure on SQLite backend |
12 | 13 | |
13 | 14 | === Changes since 1.15.1 === |
14 | 15 | |