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

Function check

src/common/classes/ImplementHelper.h:370–377  ·  view source on GitHub ↗

Generic status checker

Source from the content-addressed store, hash-verified

368
369// Generic status checker
370inline void check(IStatus* status, ISC_STATUS exclude = 0)
371{
372 if (status->getState() & IStatus::STATE_ERRORS)
373 {
374 if (status->getErrors()[1] != exclude)
375 status_exception::raise(status);
376 }
377}
378
379// Config keys cache
380class ConfigKeys : private HalfStaticArray<unsigned int, 8>

Callers 9

resetMethod · 0.70
stopMethod · 0.70
GetPluginsMethod · 0.70
makeInstanceMethod · 0.70
nextMethod · 0.70
setMethod · 0.70
rewindMethod · 0.70
getPluginMethod · 0.70
testFunction · 0.50

Calls 3

raiseFunction · 0.85
getStateMethod · 0.45
getErrorsMethod · 0.45

Tested by 1

testFunction · 0.40