Show the SQL for a given query when in debug mode, not in simulate mode
Fix D8 bug: Undefined index: HTTP_HOST bootstrap.inc:253

If this breaks anything we can make this D8 only.
Gracefully handle an empty table list in sql->drop()