[wp-trac] [WordPress Trac] #35109: Add Online DDL support to dbDelta

WordPress Trac noreply at wordpress.org
Tue Feb 18 23:45:07 UTC 2025


#35109: Add Online DDL support to dbDelta
------------------------------------------+--------------------------
 Reporter:  pento                         |       Owner:  (none)
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:
Component:  Database                      |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  performance
------------------------------------------+--------------------------

Comment (by pbearne):

 In core, the only time we ALTER TABLEs is in upgrade.php, so we could just
 hand-code the ALGORITHM=INPLACE call (after a version check)

 I am not sure we need code in the WPDB class to handle this.

 Can we close this as won't fix?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/35109#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list