summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index fa350379ee8..d6473d58821 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -3077,9 +3077,7 @@ static int mysql_create_routine(THD *thd, LEX *lex)
#endif
return false;
}
-#ifdef WITH_WSREP
-error: /* Used by WSREP_TO_ISOLATION_BEGIN */
-#endif
+WSREP_ERROR_LABEL:
return true;
}
@@ -6298,6 +6296,7 @@ end_with_restore_list:
goto finish;
error:
+WSREP_ERROR_LABEL:
res= TRUE;
finish: