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

Enhanced dbsim to store view and position in storage engine

Mimic real DBMS implementation by storing view and position
into storage engine.
This commit is contained in:
Teemu Ollakka
2019-01-23 19:10:34 +02:00
parent 632f8c3b14
commit f30d9c06ce
8 changed files with 82 additions and 22 deletions

View File

@ -135,7 +135,7 @@ void db::client::run_one_transaction()
err = err || client_state_.after_prepare();
}
err = err || client_state_.before_commit();
if (err == 0) se_trx_.commit();
if (err == 0) se_trx_.commit(transaction.ws_meta().gtid());
err = err || client_state_.ordered_commit();
err = err || client_state_.after_commit();
if (err)