Check DB ver 12217. see #2699

git-svn-id: http://svn.automattic.com/wordpress/trunk@12218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-11-19 16:43:38 +00:00
parent 6189a6fce2
commit 4e09fd327c

View File

@ -1709,7 +1709,7 @@ function pre_schema_upgrade() {
global $wp_current_db_version, $wp_db_version, $wpdb;
// Upgrade 2.9 development versions
if ( ( $wp_current_db_version > 11557 ) && ( $wp_current_db_version < 12204 ) ) {
if ( ( $wp_current_db_version > 11557 ) && ( $wp_current_db_version < 12217 ) ) {
// Drop the option_id index. dbDelta() doesn't do the drop.
$wpdb->query("ALTER TABLE $wpdb->options DROP INDEX option_id");