Bump MySQL requirement to 4.1.2 per previous discussions and announcements.

git-svn-id: https://develop.svn.wordpress.org/trunk@12410 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-12-15 21:04:50 +00:00
parent 8e0d091c55
commit 13b96eb0cb
1 changed files with 3 additions and 3 deletions

View File

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