mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-15 15:41:49 +03:00
Support for UPDATE certification key type.
This commit is contained in:
@ -73,13 +73,11 @@ namespace
|
||||
switch (type)
|
||||
{
|
||||
case wsrep::key::shared: return WSREP_KEY_SHARED;
|
||||
case wsrep::key::semi_shared: return WSREP_KEY_SEMI;
|
||||
case wsrep::key::semi_exclusive:
|
||||
/** @todo Implement semi exclusive in API */
|
||||
assert(0);
|
||||
return WSREP_KEY_EXCLUSIVE;
|
||||
case wsrep::key::reference: return WSREP_KEY_REFERENCE;
|
||||
case wsrep::key::update: return WSREP_KEY_UPDATE;
|
||||
case wsrep::key::exclusive: return WSREP_KEY_EXCLUSIVE;
|
||||
}
|
||||
assert(0);
|
||||
throw wsrep::runtime_error("Invalid key type");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user