[wp-trac] [WordPress Trac] #14221: Allow disabling alterations to global tables during upgrade.
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 6 23:35:58 UTC 2010
#14221: Allow disabling alterations to global tables during upgrade.
-------------------------+--------------------------------------------------
Reporter: ryan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.0
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Sites that have large global tables (particularly users and usermeta) as
well as sites that share their user tables with bbPress and other WP
installs need to be able to prevent the WP upgrade from changing those
tables during upgrade. An ALTER or an unbounded DELETE or UPDATE can take
a long time to complete. Large sites usually want to avoid these being run
as part of the WP upgrade so they can handle it themselves. Further, if
you are sharing user tables between multiple bbPress and WP installs you
might want one site to be the upgrade master. Let's introduce a
DO_NOT_UPGRADE_GLOBAL_TABLES define that prevents dbDelta() and the
upgrade functions from doing expensive queries against global tables.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14221>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list