MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / checkKey

Function checkKey

src/common/config/config.cpp:758–764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

756static unsigned int KEY_MASK = 0xFFFF;
757
758static inline void checkKey(unsigned int& key)
759{
760 if ((key & PARTIAL_MASK) != getPartialVersion())
761 key = KEY_MASK;
762 else
763 key &= KEY_MASK;
764}
765
766unsigned int FirebirdConf::getVersion(CheckStatusWrapper* status)
767{

Callers 3

asIntegerMethod · 0.85
asStringMethod · 0.85
asBooleanMethod · 0.85

Calls 1

getPartialVersionFunction · 0.85

Tested by

no test coverage detected