Ticket #26858: 26858.2.diff
File 26858.2.diff, 1.6 KB (added by , 9 years ago) |
---|
-
src/wp-admin/includes/schema.php
119 119 comment_parent bigint(20) unsigned NOT NULL default '0', 120 120 user_id bigint(20) unsigned NOT NULL default '0', 121 121 PRIMARY KEY (comment_ID), 122 KEY comment_post_ID (comment_post_ID ),122 KEY comment_post_ID (comment_post_ID,comment_content($max_index_length)), 123 123 KEY comment_approved_date_gmt (comment_approved,comment_date_gmt), 124 124 KEY comment_date_gmt (comment_date_gmt), 125 125 KEY comment_parent (comment_parent), -
src/wp-admin/includes/upgrade.php
538 538 if ( $wp_current_db_version < 33056 ) 539 539 upgrade_431(); 540 540 541 if ( $wp_current_db_version < 34 030)541 if ( $wp_current_db_version < 34529 ) 542 542 upgrade_440(); 543 543 544 544 maybe_disable_link_manager(); … … 1612 1612 if ( $wp_current_db_version < 34030 ) { 1613 1613 $wpdb->query( "ALTER TABLE {$wpdb->options} MODIFY option_name VARCHAR(191)" ); 1614 1614 } 1615 1616 if ( $wp_current_db_version < 34529 ) { 1617 drop_index( $wpdb->comments, 'comment_post_ID' ); 1618 } 1615 1619 } 1616 1620 1617 1621 /** -
src/wp-includes/version.php
11 11 * 12 12 * @global int $wp_db_version 13 13 */ 14 $wp_db_version = 3452 8;14 $wp_db_version = 34529; 15 15 16 16 /** 17 17 * Holds the TinyMCE version