diff options
author | Teemu Ollakka <teemu.ollakka@galeracluster.com> | 2018-03-21 12:02:09 +0200 |
---|---|---|
committer | Teemu Ollakka <teemu.ollakka@galeracluster.com> | 2018-03-21 12:02:09 +0200 |
commit | 33aad1d273832bb85a6718748c6f59184108a516 (patch) | |
tree | f7e63b060fa2f7a3369a095eacd745ce5a9aaf55 /sql/wsrep_mysqld.h | |
parent | b125ae0a842744dbf40fb38cc3df0e2ba3721dd3 (diff) | |
download | mariadb-git-33aad1d273832bb85a6718748c6f59184108a516.tar.gz |
MDEV-15505 Fixes to compilation without -DWITH_WSREP:BOOL=ON
Removed including wsrep_api.h from service_wsrep.h. This caused
various kinds of collisions with definitions when wsrep is
not supposed to be built in. Defined functions wsrep_xid_seqno()
and wsrep_xid_uuid() in wsrep_dummy.cc. Replaced wsrep_seqno_t
with long long where wsrep_api.h is not included.
Removed wsrep_xid_seqno() macro from wsrep_mysqld.h and made
wsrep code using wsrep_xid_seqno() in handler.cc to be compiled
in only if WITH_WSREP is ON.
Included wsrep_api.h for mariabackup if WITH_WSREP is ON.
Diffstat (limited to 'sql/wsrep_mysqld.h')
-rw-r--r-- | sql/wsrep_mysqld.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/wsrep_mysqld.h b/sql/wsrep_mysqld.h index 6ad13cd6f6a..2cb35db01b7 100644 --- a/sql/wsrep_mysqld.h +++ b/sql/wsrep_mysqld.h @@ -328,7 +328,6 @@ bool wsrep_node_is_synced(); #define WSREP_FORMAT(my_format) ((ulong)my_format) #define WSREP_PROVIDER_EXISTS (0) #define wsrep_emulate_bin_log (0) -#define wsrep_xid_seqno(X) (0) #define wsrep_to_isolation (0) #define wsrep_init() (1) #define wsrep_prepend_PATH(X) |