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:
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user