MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / finalize

Method finalize

src/database/cppsqlite3.cpp:508–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506
507
508void CppSQLite3Query::finalize()
509{
510 if (mpVM && mbOwnVM)
511 {
512 int nRet = sqlite3_finalize(mpVM);
513 mpVM = 0;
514 if (nRet != SQLITE_OK)
515 {
516 const char* szError = sqlite3_errmsg(mpDB);
517 throw CppSQLite3Exception(nRet, szError);
518 }
519 }
520}
521
522
523void CppSQLite3Query::checkVM()

Callers

nothing calls this directly

Calls 1

CppSQLite3ExceptionClass · 0.85

Tested by

no test coverage detected