mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Refs: MW-360 * reverted WSREP_TO_ISOLATION macros back to original form
This commit is contained in:
@ -537,7 +537,7 @@ bool Sql_cmd_alter_table_exchange_partition::
|
||||
if ((!thd->is_current_stmt_binlog_format_row() ||
|
||||
/* TODO: Do we really need to check for temp tables in this case? */
|
||||
!find_temporary_table(thd, table_list)) &&
|
||||
wsrep_to_isolation_begin(thd, NULL, table_list->db, table_list->table_name,
|
||||
wsrep_to_isolation_begin(thd, table_list->db, table_list->table_name,
|
||||
NULL))
|
||||
{
|
||||
WSREP_WARN("ALTER TABLE EXCHANGE PARTITION isolation failure");
|
||||
@ -785,7 +785,7 @@ bool Sql_cmd_alter_table_truncate_partition::execute(THD *thd)
|
||||
if (WSREP(thd) && (!thd->is_current_stmt_binlog_format_row() ||
|
||||
!find_temporary_table(thd, first_table)) &&
|
||||
wsrep_to_isolation_begin(
|
||||
thd, NULL, first_table->db, first_table->table_name, NULL)
|
||||
thd, first_table->db, first_table->table_name, NULL)
|
||||
)
|
||||
{
|
||||
WSREP_WARN("ALTER TABLE TRUNCATE PARTITION isolation failure");
|
||||
|
Reference in New Issue
Block a user