WordPress.org

Make WordPress Core

Ticket #2699: 2699.8.diff

File 2699.8.diff, 535 bytes (added by Denis-de-Bernardy, 8 years ago)

switch to key (autoload)

  • wp-admin/includes/schema.php

     
    110110  autoload varchar(20) NOT NULL default 'yes',
    111111  PRIMARY KEY  (option_id),
    112112  UNIQUE option_name (option_name),
    113   UNIQUE autoloaded_options (autoload, option_name)
     113  KEY autoloaded_options (autoload)
    114114) $charset_collate;
    115115CREATE TABLE $wpdb->postmeta (
    116116  meta_id bigint(20) unsigned NOT NULL auto_increment,