diff options
author | Nirbhay Choubey <nirbhay@skysql.com> | 2014-04-09 12:25:47 -0400 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@skysql.com> | 2014-04-09 12:25:47 -0400 |
commit | 9d911608f15005be48dad55440e87a6982067233 (patch) | |
tree | 34312354f96d6d796547f8934c9da4ba680bb7f7 /sql/sql_alter.cc | |
parent | 421326310168e2b0a83eddcf9520336e1d58ea42 (diff) | |
download | mariadb-git-9d911608f15005be48dad55440e87a6982067233.tar.gz |
Fixes for some test failures.
Diffstat (limited to 'sql/sql_alter.cc')
-rw-r--r-- | sql/sql_alter.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_alter.cc b/sql/sql_alter.cc index e3282709cd6..8b4f4ab9963 100644 --- a/sql/sql_alter.cc +++ b/sql/sql_alter.cc @@ -308,7 +308,8 @@ bool Sql_cmd_alter_table::execute(THD *thd) #ifdef WITH_WSREP TABLE *find_temporary_table(THD *thd, const TABLE_LIST *tl); - if ((!thd->is_current_stmt_binlog_format_row() || + if (WSREP(thd) && + (!thd->is_current_stmt_binlog_format_row() || !find_temporary_table(thd, first_table)) && wsrep_to_isolation_begin(thd, lex->name.str ? select_lex->db : NULL, |