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

Function check

src/jrd/DbCreators.cpp:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60namespace {
61
62void check(const char* s, IStatus* st)
63{
64 if (!(st->getState() & IStatus::STATE_ERRORS))
65 return;
66
67 Arg::StatusVector newStatus(st);
68 newStatus << Arg::Gds(isc_crdb_load) << s;
69 newStatus.raise();
70}
71
72bool openDb(const char* securityDb, RefPtr<IAttachment>& att, RefPtr<ITransaction>& tra)
73{

Callers 3

openDbFunction · 0.70
checkCreateDatabaseGrantFunction · 0.70
getListMethod · 0.70

Calls 3

GdsClass · 0.85
getStateMethod · 0.45
raiseMethod · 0.45

Tested by

no test coverage detected