From 57a16afcb290ce154fe555adf311788032fc8ad9 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 15 Dec 2009 16:04:32 +0000 Subject: [PATCH] Bump the MySQL requirement to 4.1.0. Props Denis-de-Bernardy. see #11437 git-svn-id: http://svn.automattic.com/wordpress/trunk@12404 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/wp-db.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index f70cd86237..596e41234d 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -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(__('ERROR: 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(__('ERROR: WordPress %s requires MySQL 4.1.0 or higher'), $wp_version)); } /**