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/wsrep_hton.cc | |
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/wsrep_hton.cc')
-rw-r--r-- | sql/wsrep_hton.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/wsrep_hton.cc b/sql/wsrep_hton.cc index 9809b5d9550..03bf072edcc 100644 --- a/sql/wsrep_hton.cc +++ b/sql/wsrep_hton.cc @@ -40,7 +40,7 @@ void wsrep_cleanup_transaction(THD *thd) thd->wsrep_ws_handle.trx_id= WSREP_UNDEFINED_TRX_ID; thd->wsrep_trx_meta.gtid= WSREP_GTID_UNDEFINED; thd->wsrep_trx_meta.depends_on= WSREP_SEQNO_UNDEFINED; - if (thd->wsrep_exec_mode != LOCAL_FLUSH) thd->wsrep_exec_mode= LOCAL_STATE; + thd->wsrep_exec_mode= LOCAL_STATE; return; } |