diff options
Diffstat (limited to 'sql/mdl.h')
-rw-r--r-- | sql/mdl.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/mdl.h b/sql/mdl.h index 8d22eff1eff..75132962f8f 100644 --- a/sql/mdl.h +++ b/sql/mdl.h @@ -916,9 +916,7 @@ private: */ MDL_wait_for_subgraph *m_waiting_for; private: -#ifndef WITH_WSREP THD *get_thd() const { return m_owner->get_thd(); } -#endif MDL_ticket *find_ticket(MDL_request *mdl_req, enum_mdl_duration *duration); void release_locks_stored_before(enum_mdl_duration duration, MDL_ticket *sentinel); @@ -928,7 +926,7 @@ private: public: #ifdef WITH_WSREP - THD *get_thd() const { return m_owner->get_thd(); } + THD *wsrep_get_thd() const { return get_thd(); } #endif void find_deadlock(); |