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

Method DestroyAccumulator

src/util/custom-aggregate.cpp:105–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 }
104
105 static void DestroyAccumulator(sqlite3_context* invocation) {
106 Accumulator* acc = static_cast<Accumulator*>(sqlite3_aggregate_context(invocation, sizeof(Accumulator)));
107 assert(acc->initialized);
108 acc->value.Reset();
109 }
110
111 void PropagateJSError(sqlite3_context* invocation) {
112 DestroyAccumulator(invocation);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected