Commit 1e550c0c authored by Julien Muchembled's avatar Julien Muchembled

DeadlockDebugger: stop scanning the stack frame as soon as a MySQL request is found

parent 90c6165c
...@@ -70,6 +70,7 @@ def dump_threads(): ...@@ -70,6 +70,7 @@ def dump_threads():
code = f.f_code code = f.f_code
if code is DB._query.func_code: if code is DB._query.func_code:
mysql_info = str(f.f_locals['query']) mysql_info = str(f.f_locals['query'])
break
f = f.f_back f = f.f_back
except ImportError: except ImportError:
pass pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment