| 188 | /* ── Helpers ────────────────────────────────────────────────────── */ |
| 189 | |
| 190 | static void store_set_error(cbm_store_t *s, const char *msg) { |
| 191 | snprintf(s->errbuf, sizeof(s->errbuf), "%s", msg); |
| 192 | } |
| 193 | |
| 194 | static void store_set_error_sqlite(cbm_store_t *s, const char *prefix) { |
| 195 | snprintf(s->errbuf, sizeof(s->errbuf), "%s: %s", prefix, sqlite3_errmsg(s->db)); |
no outgoing calls
no test coverage detected