MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / gd_sql_failure

Function gd_sql_failure

src/store/store_graph_digest.c:175–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175static void gd_sql_failure(gd_context_t *g, int rc) {
176 if (rc == SQLITE_INTERRUPT) {
177 (void)gd_check(g); /* Only a D5-latched cancellation earns CANCELLED. */
178 }
179 (void)gd_fail(g, CBM_STORE_GRAPH_DIGEST_ERROR);
180}
181
182static bool gd_prepare(gd_context_t *g, const char *sql) {
183 if (!gd_check(g)) {

Callers 5

gd_prepareFunction · 0.85
gd_stepFunction · 0.85
gd_finalizeFunction · 0.85
gd_bind_nameFunction · 0.85
gd_projectFunction · 0.85

Calls 2

gd_checkFunction · 0.85
gd_failFunction · 0.85

Tested by

no test coverage detected