1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +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:
Sergei Golubchik
2018-09-27 17:28:01 +02:00
parent 0140bfac5e
commit 329058be29
11 changed files with 34 additions and 36 deletions

View File

@@ -2715,7 +2715,7 @@ bool wsrep_create_like_table(THD* thd, TABLE_LIST* table,
return(false);
error:
WSREP_ERROR_LABEL:
thd->wsrep_TOI_pre_query= NULL;
return (true);
}