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

Removed is_autocommi() from client_service interface as it is not

quite useful as there might not be enough information for it
after the statement has been processed. Better to handle retrying
on DBMS side. Also removed after_statement_result enumeration and
return plain int from after_statement().
This commit is contained in:
Teemu Ollakka
2018-07-06 19:48:48 +03:00
parent 3ff322386c
commit af18a10a49
6 changed files with 35 additions and 61 deletions

View File

@ -20,11 +20,6 @@ namespace db
, client_state_(client_state)
{ }
bool is_autocommit() const override
{
return client_state_.is_autocommit();
}
bool do_2pc() const override
{
return client_state_.do_2pc();