summaryrefslogtreecommitdiff
path: root/sql/wsrep_high_priority_service.h
diff options
context:
space:
mode:
authorDaniele Sciascia <daniele.sciascia@galeracluster.com>2019-10-24 13:05:33 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2019-10-24 14:05:32 +0300
commit2b5f4b3ed68585b310b7ebede474928ff90d9aa2 (patch)
tree26741beb4fc5b42b8afdc6a3582f36932c8e6288 /sql/wsrep_high_priority_service.h
parent82f22d2f2538fd53eae071a3694c7c998df4d387 (diff)
downloadmariadb-git-2b5f4b3ed68585b310b7ebede474928ff90d9aa2.tar.gz
MDEV-17099 Preliminary changes for Galera XA support (#1401)
Update wsrep-lib, and adapt to wsrep-lib interface changes.
Diffstat (limited to 'sql/wsrep_high_priority_service.h')
-rw-r--r--sql/wsrep_high_priority_service.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/wsrep_high_priority_service.h b/sql/wsrep_high_priority_service.h
index c8c5eb87f44..cea2b5ccb5c 100644
--- a/sql/wsrep_high_priority_service.h
+++ b/sql/wsrep_high_priority_service.h
@@ -35,13 +35,15 @@ public:
~Wsrep_high_priority_service();
int start_transaction(const wsrep::ws_handle&,
const wsrep::ws_meta&);
+ int next_fragment(const wsrep::ws_meta&);
const wsrep::transaction& transaction() const;
int adopt_transaction(const wsrep::transaction&);
int apply_write_set(const wsrep::ws_meta&, const wsrep::const_buffer&,
wsrep::mutable_buffer&) = 0;
int append_fragment_and_commit(const wsrep::ws_handle&,
const wsrep::ws_meta&,
- const wsrep::const_buffer&);
+ const wsrep::const_buffer&,
+ const wsrep::xid&);
int remove_fragments(const wsrep::ws_meta&);
int commit(const wsrep::ws_handle&, const wsrep::ws_meta&);
int rollback(const wsrep::ws_handle&, const wsrep::ws_meta&);