DB schema change: Add comment_author_email(10) index.

props tellyworth, pento.
fixes #21435.


git-svn-id: https://develop.svn.wordpress.org/trunk@29188 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-07-16 15:53:14 +00:00
parent 7e05c69ce2
commit 9452f31220
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_approved_date_gmt (comment_approved,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;
CREATE TABLE $wpdb->links (
link_id bigint(20) unsigned NOT NULL auto_increment,

View File

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