MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / sqlCheck

Function sqlCheck

tools/upgrade-flux-file.cc:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26static bool hasProperties(sqlite3* db);
27
28void sqlCheck(sqlite3* db, int i)
29{
30 if (i != SQLITE_OK)
31 error("database error: {}", sqlite3_errmsg(db));
32}
33
34sqlite3* sqlOpen(const std::string filename, int flags)
35{

Callers 7

hasPropertiesFunction · 0.85
sql_bind_blobFunction · 0.85
sql_bind_intFunction · 0.85
sql_bind_stringFunction · 0.85
sqlFindFluxFunction · 0.85
sqlReadIntPropertyFunction · 0.85
sqlReadFluxBytesFunction · 0.85

Calls 1

errorFunction · 0.85

Tested by

no test coverage detected