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.cc11
1 files changed, 4 insertions, 7 deletions
diff --git a/sql/sql_alter.cc b/sql/sql_alter.cc
index c8bc3952b61..f76c4046ee0 100644
--- a/sql/sql_alter.cc
+++ b/sql/sql_alter.cc
@@ -329,13 +329,10 @@ bool Sql_cmd_alter_table::execute(THD *thd)
lex->ignore);
DBUG_RETURN(result);
-#ifdef WITH_WSREP
-error:
- {
- WSREP_WARN("ALTER TABLE isolation failure");
- DBUG_RETURN(TRUE);
- }
-#endif /* WITH_WSREP */
+
+WSREP_ERROR_LABEL:
+ WSREP_WARN("ALTER TABLE isolation failure");
+ DBUG_RETURN(TRUE);
}
bool Sql_cmd_discard_import_tablespace::execute(THD *thd)