Ticket #8014 (new defect (bug))

Opened 2 months ago

Last modified 1 week ago

dbDelta Breaks on backtick

Reported by: AaronCampbell Assigned to: anonymous
Priority: high Milestone: 2.8
Component: General Version:
Severity: major Keywords: has-patch needs-testing needs-unittests
Cc:

Description

backticks (`), which I think are best practice for MySQL, seem to kill dbDelta. It matches the table name and all the fields with the backticks still on them, then tries to match them to the database versions (`wp_mytable` != wp_mytable).

Attachments

8014.001.diff (1.1 kB) - added by AaronCampbell on 10/30/08 19:29:21.
Trims backticks from table and field names

Change History

10/30/08 19:29:21 changed by AaronCampbell

  • attachment 8014.001.diff added.

Trims backticks from table and field names

10/30/08 21:52:47 changed by westi

  • milestone changed from 2.7 to 2.8.

Not sure we should change this at this late stage in 2.7

Leave this for early 2.8

01/01/09 18:17:01 changed by mrmist

  • keywords changed from has-patch needs-testing to has-patch needs-testing needs-unittests.

See also #8768