dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6f0a99
)
Removed version check for mysql 4.1.0 from SqlBahOStuff::createTables
author
tonythomas01
<01tonythomas@gmail.com>
Tue, 28 Jan 2014 09:56:11 +0000
(15:26 +0530)
committer
tonythomas01
<01tonythomas@gmail.com>
Tue, 28 Jan 2014 10:13:32 +0000
(15:43 +0530)
Presently mysql v5.0.2 or later is supported.
Bug: 59125
Change-Id: I9043a6f792c6479a85411addbe9fd448ed5e02a6
includes/objectcache/SqlBagOStuff.php
patch
|
blob
|
history
diff --git
a/includes/objectcache/SqlBagOStuff.php
b/includes/objectcache/SqlBagOStuff.php
index
e845b55
..
2c90339
100644
(file)
--- 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' );
}