diff options
author | sjaakola <seppo.jaakola@iki.fi> | 2015-04-28 20:38:25 +0300 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2015-09-09 21:31:16 -0400 |
commit | 63c5bee535f0827721484c93a2ba8798437fadf5 (patch) | |
tree | 7a1ba13a833c784532372e2adcfc8c95530fe132 /sql/mdl.h | |
parent | 417f778e53f6d3c111ef25976d7f1b2d532ca2a3 (diff) | |
download | mariadb-git-63c5bee535f0827721484c93a2ba8798437fadf5.tar.gz |
Refs codership/mysql-wsrep#113 - Extended the protection of local FLUSH
sessions to cover all exclusive MDL locks
Diffstat (limited to 'sql/mdl.h')
-rw-r--r-- | sql/mdl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/mdl.h b/sql/mdl.h index 421258c2ab7..0898a0f75b7 100644 --- a/sql/mdl.h +++ b/sql/mdl.h @@ -934,7 +934,8 @@ private: public: #ifdef WITH_WSREP THD *wsrep_get_thd() const { return get_thd(); } -#endif + bool wsrep_has_explicit_locks(); +#endif /* WITH_WSREP */ void find_deadlock(); ulong get_thread_id() const { return thd_get_thread_id(get_thd()); } |