[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
noreply at wordpress.org
Mon May 23 18:11:35 UTC 2016
#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: ocean90
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.6
Component: Database | Version: 1.5
Severity: normal | Resolution:
Keywords: has-patch early has-unit-tests | Focuses:
--------------------------------------------+------------------------
Comment (by ocean90):
In [changeset:"37538"]:
{{{
#!CommitTicketReference repository="" revision="37538"
Database: Support backticks around field names when parsing a query for
the field type.
Avoids an undefined index PHP warning by `dbDelta()`.
Props davidmosterd, ocean90.
See #20263.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20263#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list