| 173 | } |
| 174 | |
| 175 | static 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 | |
| 182 | static bool gd_prepare(gd_context_t *g, const char *sql) { |
| 183 | if (!gd_check(g)) { |
no test coverage detected