- Affected version
- 2.2.12
If a query creates a table (temporary or otherwise), does some work on it, and then drops the table, when getDatabaseDebugInfo tries to run an explain on that query it will fail.
Besides not dropping tables, I think about the only way would be for the database adaptor to select explain statements when in debug mode with the _debug flag is set or something similar.
Besides not dropping tables, I think about the only way would be for the database adaptor to select explain statements when in debug mode with the _debug flag is set or something similar.