diff options
author | Sachin Setiya <sachin.setiya@mariadb.com> | 2017-05-08 16:29:41 +0530 |
---|---|---|
committer | Sachin Setiya <sachin.setiya@mariadb.com> | 2017-05-08 16:29:41 +0530 |
commit | 0e3170e30d2a4e8f1ed6fd4bbe935355f7370a34 (patch) | |
tree | 5c1031515b70137fbb2b170b94205b212de038e9 /sql/wsrep_mysqld.h | |
parent | 10d7a2f8e0e9076596ecbe9531d0448837cabf63 (diff) | |
download | mariadb-git-0e3170e30d2a4e8f1ed6fd4bbe935355f7370a34.tar.gz |
Fix galera tests part II(Fix previous commit)
Diffstat (limited to 'sql/wsrep_mysqld.h')
-rw-r--r-- | sql/wsrep_mysqld.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/wsrep_mysqld.h b/sql/wsrep_mysqld.h index 7f574cb996a..5ec183f7186 100644 --- a/sql/wsrep_mysqld.h +++ b/sql/wsrep_mysqld.h @@ -207,7 +207,7 @@ extern wsrep_seqno_t wsrep_locked_seqno; strcmp(wsrep_provider, WSREP_NONE)) #define WSREP(thd) \ - (WSREP_ON && wsrep && (thd->variables.wsrep_on)) + (WSREP_ON && wsrep && (thd && thd->variables.wsrep_on)) #define WSREP_CLIENT(thd) \ (WSREP(thd) && thd->wsrep_client_thread) |