[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:34:00 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 |
-----------------------+----------------------------------------------------
Comment (by jamescollins):
Thinking about things, the first patch ({{{833.patch}}}) probably won't
work when trying to create global tables such as wp_users (because the
blog id isn't in the table name/prefix).
The second patch ({{{maybe_create_table_reworked.patch}}}) changes the
logic of the {{{maybe_create_table()}}} function so it is no longer
necessary to loop over all table names.
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/833#comment:3>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list