From 225f1b724cb8429e5efc11cd43113a92b5d82dc0 Mon Sep 17 00:00:00 2001 From: tonythomas01 <01tonythomas@gmail.com> Date: Tue, 28 Jan 2014 15:26:11 +0530 Subject: [PATCH] Removed version check for mysql 4.1.0 from SqlBahOStuff::createTables Presently mysql v5.0.2 or later is supported. Bug: 59125 Change-Id: I9043a6f792c6479a85411addbe9fd448ed5e02a6 --- includes/objectcache/SqlBagOStuff.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/objectcache/SqlBagOStuff.php b/includes/objectcache/SqlBagOStuff.php index e845b55405..2c90339aed 100644 --- a/includes/objectcache/SqlBagOStuff.php +++ b/includes/objectcache/SqlBagOStuff.php @@ -677,9 +677,7 @@ class SqlBagOStuff extends BagOStuff { public function createTables() { for ( $serverIndex = 0; $serverIndex < $this->numServers; $serverIndex++ ) { $db = $this->getDB( $serverIndex ); - if ( $db->getType() !== 'mysql' - || version_compare( $db->getServerVersion(), '4.1.0', '<' ) - ) { + if ( $db->getType() !== 'mysql' ) { throw new MWException( __METHOD__ . ' is not supported on this DB server' ); } -- 2.20.1