DB schema change: Add comment_author_email(10) index.

props tellyworth, pento.
fixes #21435.

Built from https://develop.svn.wordpress.org/trunk@29188


git-svn-id: http://core.svn.wordpress.org/trunk@28972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-07-16 15:54:16 +00:00
parent 57e966100f
commit 4bf7cdd49b
2 changed files with 3 additions and 2 deletions

View File

@ -101,7 +101,8 @@ CREATE TABLE $wpdb->comments (
KEY comment_post_ID (comment_post_ID), KEY comment_post_ID (comment_post_ID),
KEY comment_approved_date_gmt (comment_approved,comment_date_gmt), KEY comment_approved_date_gmt (comment_approved,comment_date_gmt),
KEY comment_date_gmt (comment_date_gmt), KEY comment_date_gmt (comment_date_gmt),
KEY comment_parent (comment_parent) KEY comment_parent (comment_parent),
KEY comment_author_email (comment_author_email(10))
) $charset_collate; ) $charset_collate;
CREATE TABLE $wpdb->links ( CREATE TABLE $wpdb->links (
link_id bigint(20) unsigned NOT NULL auto_increment, link_id bigint(20) unsigned NOT NULL auto_increment,

View File

@ -11,7 +11,7 @@ $wp_version = '4.0-beta1-20140716';
* *
* @global int $wp_db_version * @global int $wp_db_version
*/ */
$wp_db_version = 27916; $wp_db_version = 29188;
/** /**
* Holds the TinyMCE version * Holds the TinyMCE version