Make WordPress Core


Ignore:
Timestamp:
02/19/2010 05:56:40 PM (14 years ago)
Author:
ryan
Message:

Add an index on comment_parent to speed up wp_delete_comment() reparenting queries. fixes #12289

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r13137 r13227  
    8282  KEY comment_post_ID (comment_post_ID),
    8383  KEY comment_approved_date_gmt (comment_approved,comment_date_gmt),
    84   KEY comment_date_gmt (comment_date_gmt)
     84  KEY comment_date_gmt (comment_date_gmt),
     85  KEY comment_parent (comment_parent)
    8586) $charset_collate;
    8687CREATE TABLE $wpdb->links (
Note: See TracChangeset for help on using the changeset viewer.