diff options
author | sjaakola <seppo.jaakola@iki.fi> | 2017-02-16 23:19:10 +0200 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-08-11 13:23:51 +0300 |
commit | 7ef2d5aa5b5d0179d40bd42afea874235b8b60f8 (patch) | |
tree | fd6a5094243c31e603ef65c77f582d7867aba18a /sql/sql_class.cc | |
parent | 364b15c090e7337eb752eec4bea239052f73b2ed (diff) | |
download | mariadb-git-7ef2d5aa5b5d0179d40bd42afea874235b8b60f8.tar.gz |
Refs: MW-360 * splitting DROP TABLE query in separate DROP commands for temporary and real tables * not replicating temporary table DROP command * using wsrep_sidno GTID group only for innodb table drop command part all this follows more or less the logic of how mysql wants to split drop table list
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index f0543becc0c..5964f4475a4 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -1213,6 +1213,8 @@ THD::THD() wsrep_TOI_pre_query_len = 0; wsrep_sync_wait_gtid = WSREP_GTID_UNDEFINED; wsrep_affected_rows = 0; + wsrep_replicate_GTID = false; + wsrep_skip_wsrep_GTID = false; #endif /* Call to init() below requires fully initialized Open_tables_state. */ reset_open_tables_state(this); @@ -1631,7 +1633,8 @@ void THD::init(void) wsrep_TOI_pre_query_len = 0; wsrep_sync_wait_gtid = WSREP_GTID_UNDEFINED; wsrep_affected_rows = 0; - + wsrep_replicate_GTID = false; + wsrep_skip_wsrep_GTID = false; /* @@wsrep_causal_reads is now being handled via wsrep_sync_wait, update it appropriately. |