DeadlockDebugger: don't print "MySQL query: no query" when there is no query