summaryrefslogtreecommitdiff
path: root/sql/sql_alter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_alter.cc')
-rw-r--r--sql/sql_alter.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/sql/sql_alter.cc b/sql/sql_alter.cc
index d2893b5fbff..5fc9ff8209c 100644
--- a/sql/sql_alter.cc
+++ b/sql/sql_alter.cc
@@ -498,13 +498,9 @@ bool Sql_cmd_alter_table::execute(THD *thd)
DBUG_RETURN(result);
-#ifdef WITH_WSREP
-error: /* Used by WSREP_TO_ISOLATION_BEGIN_ALTER */
-#endif
- {
- WSREP_WARN("ALTER TABLE isolation failure");
- DBUG_RETURN(TRUE);
- }
+WSREP_ERROR_LABEL:
+ WSREP_WARN("ALTER TABLE isolation failure");
+ DBUG_RETURN(TRUE);
}
bool Sql_cmd_discard_import_tablespace::execute(THD *thd)