MCPcopy Create free account
hub / github.com/WiseLibs/better-sqlite3 / ~StatementIterator

Method ~StatementIterator

src/objects/statement-iterator.cpp:24–24  ·  view source on GitHub ↗

The ~Statement destructor currently covers any state this object creates. Additionally, we actually DON'T want to revert stmt->locked or db_state ->iterators in this destructor, to ensure deterministic database access.

Source from the content-addressed store, hash-verified

22// Additionally, we actually DON'T want to revert stmt->locked or db_state
23// ->iterators in this destructor, to ensure deterministic database access.
24StatementIterator::~StatementIterator() {}
25
26void StatementIterator::Next(NODE_ARGUMENTS info) {
27 assert(alive == true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected