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_truncate.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_truncate.cc')
-rw-r--r-- | sql/sql_truncate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_truncate.cc b/sql/sql_truncate.cc index 16c2a5027e3..d047186b2cf 100644 --- a/sql/sql_truncate.cc +++ b/sql/sql_truncate.cc @@ -487,7 +487,7 @@ bool Sql_cmd_truncate_table::truncate_table(THD *thd, TABLE_LIST *table_ref) bool hton_can_recreate; #ifdef WITH_WSREP - if (WSREP(thd) && wsrep_to_isolation_begin(thd, + if (WSREP(thd) && wsrep_to_isolation_begin(thd, NULL, table_ref->db, table_ref->table_name, NULL)) DBUG_RETURN(TRUE); |