[RSS Feed/News] \XF::Debugger::getDatabaseDebugInfo doesn't handle dropped tables gracefully

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
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.

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom