[wp-trac] [WordPress Trac] #26419: maybe_create_table is very resource intensive

WordPress Trac noreply at wordpress.org
Wed Dec 4 23:19:20 UTC 2013


#26419: maybe_create_table is very resource intensive
-------------------------+------------------------------
 Reporter:  codix        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Database     |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by nacin):

 maybe_create_table() isn't something WordPress core uses, and should
 possibly be deprecated along with maybe_add_column(), maybe_drop_column(),
 and install-helper.php; in favor of dbDelta(). These functions all date to
 WordPress 1.0 and were more or less replaced by dbDelta() in WordPress
 1.5. So we're talking 9 years ago.

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


More information about the wp-trac mailing list