diff options
author | Dmitry Lenev <Dmitry.Lenev@oracle.com> | 2010-09-30 17:29:12 +0400 |
---|---|---|
committer | Dmitry Lenev <Dmitry.Lenev@oracle.com> | 2010-09-30 17:29:12 +0400 |
commit | 476939cb457d8767e234faa3804322333b0e1c59 (patch) | |
tree | 883ef79ddf37de196b41b5fa4efce97cad8aa7b6 /sql/mdl.h | |
parent | bf55d1fcf0bd2dc050eabf6725f827fcf9c10cfe (diff) | |
download | mariadb-git-476939cb457d8767e234faa3804322333b0e1c59.tar.gz |
Reverted a temporary workaround for bug #56405 "Deadlock
in the MDL deadlock detector".
It is no longer needed as a better fix for this bug has
been pushed.
Diffstat (limited to 'sql/mdl.h')
-rw-r--r-- | sql/mdl.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sql/mdl.h b/sql/mdl.h index e1d4cf74dd6..7938d833eac 100644 --- a/sql/mdl.h +++ b/sql/mdl.h @@ -385,10 +385,7 @@ public: virtual bool inspect_edge(MDL_context *dest) = 0; virtual ~MDL_wait_for_graph_visitor(); - MDL_wait_for_graph_visitor() :m_lock_open_count(0), - m_current_search_depth(0) - { } - virtual void abort_traversal(MDL_context *node) = 0; + MDL_wait_for_graph_visitor() :m_lock_open_count(0) {} public: /** XXX, hack: During deadlock search, we may need to @@ -399,17 +396,6 @@ public: LOCK_open since it has significant performance impacts. */ uint m_lock_open_count; - /** - Set to the 0 at start. Increased whenever - we descend into another MDL context (aka traverse to the next - wait-for graph node). When MAX_SEARCH_DEPTH is reached, we - assume that a deadlock is found, even if we have not found a - loop. - - XXX: This member belongs to this class only temporarily until - bug #56405 is fixed. - */ - uint m_current_search_depth; }; /** |