From a11ad49d80a59d9ebf1421a839f6e5327ada6e2e Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 22 Oct 2008 22:03:41 +0000 Subject: [PATCH] Add post_parent index. fixes #7876 git-svn-id: https://develop.svn.wordpress.org/trunk@9290 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/schema.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php index dd79640053..dcb0b8ff75 100644 --- a/wp-admin/includes/schema.php +++ b/wp-admin/includes/schema.php @@ -139,7 +139,8 @@ CREATE TABLE $wpdb->posts ( comment_count bigint(20) NOT NULL default '0', PRIMARY KEY (ID), KEY post_name (post_name), - KEY type_status_date (post_type,post_status,post_date,ID) + KEY type_status_date (post_type,post_status,post_date,ID), + KEY post_parent (post_parent) ) $charset_collate; CREATE TABLE $wpdb->users ( ID bigint(20) unsigned NOT NULL auto_increment, diff --git a/wp-includes/version.php b/wp-includes/version.php index a4487daf9f..90ae81b740 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -15,6 +15,6 @@ $wp_version = '2.7-almost-beta'; * * @global int $wp_db_version */ -$wp_db_version = 8989; +$wp_db_version = 9290; ?>