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

Remove duplicate logic from after_statement

Remove bf abort handling `client_state::after_statement()`, since the
same logic already appears later in `transaction::after_statement()`.
Also, introduce `transaction::after_statement()` overload which takes
a lock.
This commit is contained in:
Daniele Sciascia
2023-07-17 14:49:33 +02:00
parent 7dafce8403
commit 62bd40800f
3 changed files with 12 additions and 28 deletions

View File

@ -192,6 +192,7 @@ namespace wsrep
int before_statement();
int after_statement();
int after_statement(wsrep::unique_lock<wsrep::mutex>&);
void after_command_must_abort(wsrep::unique_lock<wsrep::mutex>&);