1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Return error code from high_priority_service::adopt_transaction()

Adopt transaction may need to start a new transaction on DBMS side,
allow returning an error if the transaction start fails.
This commit is contained in:
Teemu Ollakka
2019-02-25 09:27:17 +02:00
parent c61811ed70
commit badf53a28d
6 changed files with 54 additions and 16 deletions

View File

@ -60,7 +60,7 @@ namespace wsrep
/**
* Adopt a transaction.
*/
virtual void adopt_transaction(const wsrep::transaction&) = 0;
virtual int adopt_transaction(const wsrep::transaction&) = 0;
/**
* Apply a write set.