DROP TABLE error 1051 (Unknown table)
|Reported by:||soulseekah||Owned by:||nacin|
When dropping a table via $wpdb->query the query is rewritten to its temporary counterpart DROP TEMPORARY TABLE.
However, all CREATE TABLE queries are not rewritten to CREATE TEMPORARY TABLE, so when the time comes the database shoves an error into the face of anyone who's trying to drop a table.
This is currently only relevant to custom tests extending from the WP_UnitTestCase class.
Change History (12)
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed
- Resolution fixed deleted
- Status changed from closed to reopened