Bump the MySQL requirement to 4.1.0. Props Denis-de-Bernardy. see #11437

git-svn-id: https://develop.svn.wordpress.org/trunk@12404 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-12-15 16:04:32 +00:00
parent 1e123f43a7
commit f2f48162ec
1 changed files with 3 additions and 3 deletions

View File

@ -1052,9 +1052,9 @@ class wpdb {
function check_database_version()
{
global $wp_version;
// Make sure the server has MySQL 4.0
if ( version_compare($this->db_version(), '4.0.0', '<') )
return new WP_Error('database_version',sprintf(__('<strong>ERROR</strong>: WordPress %s requires MySQL 4.0.0 or higher'), $wp_version));
// Make sure the server has MySQL 4.1
if ( version_compare($this->db_version(), '4.1.0', '<') )
return new WP_Error('database_version',sprintf(__('<strong>ERROR</strong>: WordPress %s requires MySQL 4.1.0 or higher'), $wp_version));
}
/**