[wp-trac] [WordPress Trac] #20263: Backticks in dbDelta cause warning and actually causes a query to alter all columns and indexes to run even if none have changed

WordPress Trac wp-trac at lists.automattic.com
Thu May 24 07:26:32 UTC 2012


#20263: Backticks in dbDelta cause warning and actually causes a query to alter all
columns and indexes to run even if none have changed
-----------------------------+------------------------------
 Reporter:  Driskell         |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  1.5
 Severity:  minor            |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------
Changes (by nacin):

 * version:  3.4 => 1.5


Comment:

 Definitely not new, setting version to 1.5 when dbDelta came around.

 Adding ` to the list of characters to trim() might be enough, yes?

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


More information about the wp-trac mailing list