DROP TABLE error 1051 (Unknown table)
|Reported by:||soulseekah||Owned by:|
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.