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

* Added size exceeded error code

* Return provider status from selected client_state calls
* Added more methods to provider interface
This commit is contained in:
Teemu Ollakka
2018-06-20 19:44:20 +03:00
parent bf7dad6815
commit ef0fb72b73
9 changed files with 109 additions and 15 deletions

View File

@ -155,7 +155,7 @@ namespace wsrep
wsrep::streaming_context streaming_context_;
};
static inline std::string to_string(enum wsrep::transaction::state state)
static inline const char* to_c_string(enum wsrep::transaction::state state)
{
switch (state)
{
@ -174,6 +174,10 @@ namespace wsrep
}
return "unknown";
}
static inline std::string to_string(enum wsrep::transaction::state state)
{
return to_c_string(state);
}
}