[wpmu-trac] Re: [WordPress MU Trac] #833: Site upgrade can be very inefficient and even fail if WPMU has a lot of tables

WordPress MU Trac wpmu-trac at lists.automattic.com
Wed Jan 14 23:21:45 GMT 2009


#833: Site upgrade can be very inefficient and even fail if WPMU has a lot of
tables
-----------------------+----------------------------------------------------
 Reporter:  kingler    |        Owner:  somebody
     Type:  defect     |       Status:  new     
 Priority:  highest    |    Milestone:  2.7     
Component:  General    |      Version:          
 Severity:  critical   |   Resolution:          
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Changes (by jamescollins):

  * keywords:  => has-patch

Comment:

 The attached patch uses logic previously applied in #669 and #727, as well
 as the idea that kingler proposed.

 The underscore needs to be included in the LIKE query, however the
 underscore is a wildcard in MySQL (see #727) so it must be escaped.

 I haven't tested this very much though. Can someone verify that it works
 correctly?

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/833#comment:2>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list