MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / finalize

Method finalize

common/map_sdk/mapdb/src/sqlite_transaction.cpp:95–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93sqliteStmtPtr::~sqliteStmtPtr() { finalize(); }
94
95void sqliteStmtPtr::finalize() {
96 if (ptr != NULL) {
97 sqlite3_finalize(ptr);
98 ptr = NULL;
99 }
100}
101
102bool sqliteStmtPtr::prepare(sqlite3* dbPtr, const std::string& sql) {
103 int code = sqlite3_prepare_v2(dbPtr, sql.c_str(), -1, &ptr, &tail);

Callers 2

insertLanesMethod · 0.45
insertLaneLinksMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected