One request: open a query store, walk from `start`, close. */
| 233 | |
| 234 | /* One request: open a query store, walk from `start`, close. */ |
| 235 | static int gmt_request(const char *db, int64_t start) { |
| 236 | cbm_store_t *q = cbm_store_open_path_query(db); |
| 237 | int n = q ? gmt_visited(q, start) : -1; |
| 238 | cbm_store_close(q); |
| 239 | return n; |
| 240 | } |
| 241 | |
| 242 | /* The SQL reference: a read-only store like the one under test (a writable |
| 243 | * open would switch the sealed file to WAL), pinned to the SQL path because |
no test coverage detected