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

Method setDbInfo

src/jrd/CryptoManager.cpp:443–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441 }
442
443 void CryptoManager::setDbInfo(IDbCryptPlugin* cp)
444 {
445 FbLocalStatus status;
446 cp->setInfo(&status, dbInfo);
447 if (status->getState() & IStatus::STATE_ERRORS)
448 {
449 const ISC_STATUS* v = status->getErrors();
450 if (v[0] == isc_arg_gds && v[1] != isc_arg_end && v[1] != isc_interface_version_too_old)
451 status_exception::raise(&status);
452 }
453 }
454
455 void CryptoManager::loadPlugin(thread_db* tdbb, const char* plugName)
456 {

Callers

nothing calls this directly

Calls 4

raiseFunction · 0.85
setInfoMethod · 0.45
getStateMethod · 0.45
getErrorsMethod · 0.45

Tested by

no test coverage detected