Fix total breakage of SQLite web upgrade
authorTim Starling <tstarling@wikimedia.org>
Wed, 1 Aug 2018 00:18:08 +0000 (10:18 +1000)
committerUmherirrender <umherirrender_de.wp@web.de>
Tue, 7 Aug 2018 15:39:58 +0000 (17:39 +0200)
Partial revert of 8d61cf2793abd2, since LBFactoryTest.php passes without
overriding selectDB() in the current master. It's unclear why it was necessary.

Bug: T200861
Change-Id: I7c0560d7890616899297f81a227db98996d5cb7f
(cherry picked from commit 7584bf22fb2bda3c66ecf50c1edaad904ee1a649)

RELEASE-NOTES-1.31
includes/libs/rdbms/database/DatabaseSqlite.php

index cf10354..95ba836 100644 (file)
@@ -16,6 +16,7 @@ This is a security and maintenance release of the MediaWiki 1.31 branch.
 * (T197206) Fix performance regression when multiple DB used without caching.
 * (T197030) PHPSessionHandler: Suppress headers warnings in initialize().
 * (T182377, T196793) Exif: Guard against uncountable tag values.
+* (T200861) Fix total breakage of SQLite web upgrade.
 
 === Changes since MediaWiki 1.31.0-rc.2 ===
 * (T195783) Initialize PSR-4 namespaces at same stage as normal autoloader.
index a6a153a..f282b17 100644 (file)
@@ -220,10 +220,6 @@ class DatabaseSqlite extends Database {
                return false;
        }
 
-       public function selectDB( $db ) {
-               return false; // doesn't make sense
-       }
-
        /**
         * @return string SQLite DB file path
         * @since 1.25