Index: trunk/phase3/includes/db/DatabaseMysql.php |
— | — | @@ -421,7 +421,7 @@ |
422 | 422 | /** |
423 | 423 | * Returns slave lag. |
424 | 424 | * |
425 | | - * On MySQL 4.1.9 and later, this will do a SHOW SLAVE STATUS |
| 425 | + * This will do a SHOW SLAVE STATUS |
426 | 426 | * |
427 | 427 | * @return int |
428 | 428 | */ |
Index: trunk/phase3/includes/installer/MysqlInstaller.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | |
34 | 34 | public $supportedEngines = array( 'InnoDB', 'MyISAM' ); |
35 | 35 | |
36 | | - public $minimumVersion = '5.0.0'; |
| 36 | + public $minimumVersion = '5.0.2'; |
37 | 37 | |
38 | 38 | public $webUserPrivs = array( |
39 | 39 | 'DELETE', |
— | — | @@ -255,11 +255,6 @@ |
256 | 256 | */ |
257 | 257 | $conn = $status->value; |
258 | 258 | |
259 | | - // Check version, need INFORMATION_SCHEMA and CREATE USER |
260 | | - if ( version_compare( $conn->getServerVersion(), '5.0.2', '<' ) ) { |
261 | | - return false; |
262 | | - } |
263 | | - |
264 | 259 | // Get current account name |
265 | 260 | $currentName = $conn->selectField( '', 'CURRENT_USER()', '', __METHOD__ ); |
266 | 261 | $parts = explode( '@', $currentName ); |
— | — | @@ -631,7 +626,7 @@ |
632 | 627 | # MySQL table options to use during installation or update |
633 | 628 | \$wgDBTableOptions = \"{$tblOpts}\"; |
634 | 629 | |
635 | | -# Experimental charset support for MySQL 4.1/5.0. |
| 630 | +# Experimental charset support for MySQL 5.0. |
636 | 631 | \$wgDBmysql5 = {$dbmysql5};"; |
637 | 632 | } |
638 | 633 | } |