summaryrefslogtreecommitdiff
path: root/sql/wsrep_mysqld.h
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2016-08-25 21:28:26 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2016-08-25 21:28:26 -0400
commit3575618237d543df8ae137fb640bf3c1e8259c8b (patch)
tree77a4d82b0800db1f355f965d05987b4bccc64489 /sql/wsrep_mysqld.h
parent90266e8a0eb46867c990930fa4d305d2424929ba (diff)
downloadmariadb-git-3575618237d543df8ae137fb640bf3c1e8259c8b.tar.gz
Post merge fixes.
Diffstat (limited to 'sql/wsrep_mysqld.h')
-rw-r--r--sql/wsrep_mysqld.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/wsrep_mysqld.h b/sql/wsrep_mysqld.h
index 296ff26962d..04ccc1a7e45 100644
--- a/sql/wsrep_mysqld.h
+++ b/sql/wsrep_mysqld.h
@@ -170,6 +170,9 @@ extern void wsrep_prepend_PATH (const char* path);
extern wsrep_seqno_t wsrep_locked_seqno;
#define WSREP_ON \
+ (global_system_variables.wsrep_on)
+
+#define WSREP_ON_NEW \
((global_system_variables.wsrep_on) && \
wsrep_provider && \
strcmp(wsrep_provider, WSREP_NONE))