[wp-trac] [WordPress Trac] #24800: DROP TABLE error 1051 (Unknown table)

WordPress Trac noreply at wordpress.org
Mon Feb 3 22:41:45 UTC 2014


#24800: DROP TABLE error 1051 (Unknown table)
--------------------------+---------------------
 Reporter:  soulseekah    |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.9
Component:  Unit Tests    |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------
Changes (by nacin):

 * milestone:  Awaiting Review => 3.9


Comment:

 I chose to trim() inside the checks because then we would not be trimming
 the whitespace off all queries, only CREATE/DROP TABLE ones. The second
 trim is not a problem as it'll only run for these kinds of queries.

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


More information about the wp-trac mailing list