From: tonythomas01 <01tonythomas@gmail.com> Date: Tue, 28 Jan 2014 09:56:11 +0000 (+0530) Subject: Removed version check for mysql 4.1.0 from SqlBahOStuff::createTables X-Git-Tag: 1.31.0-rc.0~17113^2 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=225f1b724cb8429e5efc11cd43113a92b5d82dc0;p=lhc%2Fweb%2Fwiklou.git 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 --- 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' ); }