mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '10.2' into 10.3
This commit is contained in:
@@ -50,9 +50,9 @@
|
||||
#define WSREP_WARN(...) WSREP_LOG(sql_print_warning, ##__VA_ARGS__)
|
||||
#define WSREP_ERROR(...) WSREP_LOG(sql_print_error, ##__VA_ARGS__)
|
||||
|
||||
#define WSREP_SYNC_WAIT(thd_, before_) \
|
||||
{ if (WSREP_CLIENT(thd_) && \
|
||||
wsrep_sync_wait(thd_, before_)) goto wsrep_error_label; }
|
||||
#define WSREP_SYNC_WAIT(thd_, before_) \
|
||||
do { if (WSREP_CLIENT(thd_) && \
|
||||
wsrep_sync_wait(thd_, before_)) goto wsrep_error_label; } while(0)
|
||||
#define WSREP_ERROR_LABEL wsrep_error_label
|
||||
#else
|
||||
#define IF_WSREP(A,B) B
|
||||
@@ -65,7 +65,7 @@
|
||||
#define WSREP_TO_ISOLATION_BEGIN_ALTER(db_, table_, table_list_, alter_info_)
|
||||
#define WSREP_TO_ISOLATION_END
|
||||
#define WSREP_TO_ISOLATION_BEGIN_WRTCHK(db_, table_, table_list_)
|
||||
#define WSREP_SYNC_WAIT(thd_, before_)
|
||||
#define WSREP_SYNC_WAIT(thd_, before_) do { } while(0)
|
||||
#define WSREP_ERROR_LABEL goto wsrep_error_label; wsrep_error_label
|
||||
|
||||
#endif /* WITH_WSREP */
|
||||
|
Reference in New Issue
Block a user