| 506 | |
| 507 | |
| 508 | void 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 | |
| 523 | void CppSQLite3Query::checkVM() |
nothing calls this directly
no test coverage detected