| 24 | } |
| 25 | static bool ss_eq(const char *a, const char *b) { return a && b && strcmp(a,b)==0; } |
| 26 | static int ss_sql(cbm_store_t *s, const char *sql) { |
| 27 | return sqlite3_exec(cbm_store_get_db(s), sql, NULL, NULL, NULL); |
| 28 | } |
| 29 | static bool ss_integer(cbm_store_t *s, const char *sql, int64_t want) { |
| 30 | sqlite3_stmt *q = NULL; |
| 31 | bool ok = sqlite3_prepare_v2(cbm_store_get_db(s), sql, -1, &q, NULL)==SQLITE_OK && |
no test coverage detected