[wp-trac] [WordPress Trac] #15004: Missing index on signups table

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 23 15:59:59 UTC 2011


#15004: Missing index on signups table
--------------------------+------------------
 Reporter:  barry         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.3
Component:  Database      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  commit        |
--------------------------+------------------

Comment (by nacin):

 Replying to [ticket:15004 barry]:
 > Attached patch adds the index but I can't figure out how schema upgrades
 on MS-specific tables ever get run after the initial activation of MS mode
 and table creation.

 They don't. We'll need to call install_network() in upgrade.php. Possibly
 only in an upgrade_XYZ() function rather than on every upgrade.

 Ryan, would it be safe to move install_network() to schema.php and
 populate_network() to upgrade.php? It bothers me that those functions are
 in the opposite files.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15004#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list