• Teemu Ollakka's avatar
    MDEV-15505 Fixes to compilation without -DWITH_WSREP:BOOL=ON · 33aad1d2
    Teemu Ollakka authored
    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.
    33aad1d2
service_wsrep.h 10.5 KB