[wp-trac] [WordPress Trac] #36422: Specific table prefixes causes sql errors

WordPress Trac noreply at wordpress.org
Fri May 27 01:53:13 UTC 2016


#36422: Specific table prefixes causes sql errors
----------------------------+---------------------
 Reporter:  voldemortensen  |       Owner:  pento
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  4.6
Component:  Database        |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+---------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37581"]:
 {{{
 #!CommitTicketReference repository="" revision="37581"
 Setup: Sanity check for invalid table prefixes.

 There are some table prefixes (for example, `7e1_`), which MySQL will try
 and parse as values when they're note quoted in backticks. Because not
 everything remembers to quote their table names, it's best if we just
 discourage their use during setup.

 Fixes #36422.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36422#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list