\XF::Debugger::getDatabaseDebugInfo doesn't handle dropped tables gracefully


Well-known member
Affected version
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.
Top Bottom