diff options
author | sjaakola <seppo.jaakola@iki.fi> | 2017-07-27 11:43:33 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-09-15 09:45:55 +0300 |
commit | a8b3c603c6fd2977dbdaae5d146b5a9bb3fc7851 (patch) | |
tree | eb37f6cb5d0e2feaf86f88ffef784df709efc319 /sql/sql_partition_admin.cc | |
parent | ed9f68f6ad3417f4e12acd8c108a3fd9cc727111 (diff) | |
download | mariadb-git-a8b3c603c6fd2977dbdaae5d146b5a9bb3fc7851.tar.gz |
MW-394
* recorded new result file, original was copied from MariaDB
which produces syntactically a bit different result
* semantics are same in MariaDB and ours result file
Diffstat (limited to 'sql/sql_partition_admin.cc')
-rw-r--r-- | sql/sql_partition_admin.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sql/sql_partition_admin.cc b/sql/sql_partition_admin.cc index 48db032fe58..ff6c05c4215 100644 --- a/sql/sql_partition_admin.cc +++ b/sql/sql_partition_admin.cc @@ -538,21 +538,6 @@ bool Sql_cmd_alter_table_exchange_partition:: &alter_prelocking_strategy)) DBUG_RETURN(true); -#ifdef WITH_WSREP - if (WSREP_ON) - { - if ((!thd->is_current_stmt_binlog_format_row() || - /* TODO: Do we really need to check for temp tables in this case? */ - !thd->find_temporary_table(table_list)) && - wsrep_to_isolation_begin(thd, table_list->db, table_list->table_name, - NULL)) - { - WSREP_WARN("ALTER TABLE EXCHANGE PARTITION isolation failure"); - DBUG_RETURN(TRUE); - } - } -#endif /* WITH_WSREP */ - part_table= table_list->table; swap_table= swap_table_list->table; |