MCPcopy Create free account
hub / github.com/apple/foundationdb / Statement

Method Statement

fdbserver/KeyValueStoreSQLite.actor.cpp:385–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383
384public:
385 Statement(SQLiteDB& db, const char* sql) : db(db), stmt(nullptr) {
386 db.checkError("prepare", sqlite3_prepare_v2(db.db, sql, -1, &stmt, nullptr));
387 }
388 ~Statement() {
389 try {
390 db.checkError("finalize", sqlite3_finalize(stmt));

Callers

nothing calls this directly

Calls 1

checkErrorMethod · 0.45

Tested by

no test coverage detected