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

Method ~Statement

fdbserver/KeyValueStoreSQLite.actor.cpp:388–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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));
391 } catch (...) {
392 }
393 }
394 Statement& reset() {
395 db.checkError("reset", sqlite3_reset(stmt));
396 return *this;

Callers

nothing calls this directly

Calls 1

checkErrorMethod · 0.45

Tested by

no test coverage detected