mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Finished dbsim integration with refactored client API.
This commit is contained in:
@ -39,13 +39,15 @@ namespace db
|
||||
}
|
||||
bool active() const { return cc_ != nullptr; }
|
||||
void start(client* cc);
|
||||
void apply(const wsrep::transaction_context&);
|
||||
void commit();
|
||||
void rollback();
|
||||
db::client* client() { return cc_; }
|
||||
transaction(const transaction&) = delete;
|
||||
transaction& operator=(const transaction&) = delete;
|
||||
private:
|
||||
storage_engine& se_;
|
||||
client* cc_;
|
||||
db::storage_engine& se_;
|
||||
db::client* cc_;
|
||||
};
|
||||
void bf_abort_some(const wsrep::transaction_context& tc);
|
||||
long long bf_aborts() const { return bf_aborts_; }
|
||||
|
Reference in New Issue
Block a user