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

Method ~IntKeyCursor

fdbserver/KeyValueStoreSQLite.actor.cpp:703–711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701 db.checkError("BtreeCursor", sqlite3BtreeCursor(db.btree, table, write, nullptr, cursor));
702 }
703 ~IntKeyCursor() {
704 if (cursor) {
705 try {
706 db.checkError("BtreeCloseCursor", sqlite3BtreeCloseCursor(cursor));
707 } catch (...) {
708 }
709 delete[](char*) cursor;
710 }
711 }
712};
713
714struct RawCursor {

Callers

nothing calls this directly

Calls 2

sqlite3BtreeCloseCursorFunction · 0.85
checkErrorMethod · 0.45

Tested by

no test coverage detected