[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
Wed Mar 21 19:03:50 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:  3.4
 Severity:  minor            |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------
Changes (by kurtpayne):

 * cc: kpayne@… (added)
 * keywords:   => has-patch


Comment:

 I can replicate the original problem.  Here's the sample plugin I used to
 test this:

 https://gist.github.com/2151282

 Just activate the plugin and look for errors.  Deactivate the plugin to
 reset.

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


More information about the wp-trac mailing list