| 223 | } |
| 224 | |
| 225 | static int gmt_visited(cbm_store_t *s, int64_t start) { |
| 226 | cbm_traverse_result_t tr = {0}; |
| 227 | int n = cbm_store_bfs(s, start, "outbound", NULL, 0, 3, 100, &tr) == CBM_STORE_OK |
| 228 | ? tr.visited_count |
| 229 | : -1; |
| 230 | cbm_store_traverse_free(&tr); |
| 231 | return n; |
| 232 | } |
| 233 | |
| 234 | /* One request: open a query store, walk from `start`, close. */ |
| 235 | static int gmt_request(const char *db, int64_t start) { |
no test coverage detected