We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9d2f37 commit f3435fcCopy full SHA for f3435fc
sql/sql_partition_admin.cc
@@ -89,9 +89,15 @@ bool Sql_cmd_alter_table_exchange_partition::execute(THD *thd)
89
90
/* Not allowed with EXCHANGE PARTITION */
91
DBUG_ASSERT(!create_info.data_file_name && !create_info.index_file_name);
92
+ WSREP_TO_ISOLATION_BEGIN_WRTCHK(NULL, NULL, first_table);
93
94
thd->enable_slow_log= opt_log_slow_admin_statements;
95
DBUG_RETURN(exchange_partition(thd, first_table, &alter_info));
96
+#ifdef WITH_WSREP
97
+ error:
98
+ /* handle errors in TO_ISOLATION here */
99
+ DBUG_RETURN(true);
100
+#endif /* WITH_WSREP */
101
}
102
103
0 commit comments