Skip to content

Commit

Permalink
MW-394
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
sjaakola authored and Jan Lindström committed Sep 15, 2017
1 parent ed9f68f commit a8b3c60
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions sql/sql_partition_admin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a8b3c60

Please sign in to comment.