mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
wsrep: create a macro for the error: label
that is used by WSREP_TO_ISOLATION_BEGIN and other galera macros, to avoid the need for wrapping this label in #ifdef WITH_WSREP/#endif
This commit is contained in:
@ -1262,6 +1262,7 @@ bool Sql_cmd_analyze_table::execute(THD *thd)
|
||||
m_lex->query_tables= first_table;
|
||||
|
||||
error:
|
||||
WSREP_ERROR_LABEL:
|
||||
DBUG_RETURN(res);
|
||||
}
|
||||
|
||||
@ -1320,6 +1321,7 @@ bool Sql_cmd_optimize_table::execute(THD *thd)
|
||||
m_lex->query_tables= first_table;
|
||||
|
||||
error:
|
||||
WSREP_ERROR_LABEL:
|
||||
DBUG_RETURN(res);
|
||||
}
|
||||
|
||||
@ -1354,5 +1356,6 @@ bool Sql_cmd_repair_table::execute(THD *thd)
|
||||
m_lex->query_tables= first_table;
|
||||
|
||||
error:
|
||||
WSREP_ERROR_LABEL:
|
||||
DBUG_RETURN(res);
|
||||
}
|
||||
|
Reference in New Issue
Block a user