| 3157 | |
| 3158 | #if defined(CBM_INCREMENTAL_TEST_API) && CBM_INCREMENTAL_TEST_API |
| 3159 | static int read_published_generation(const char *db_path, char *out, size_t out_size) { |
| 3160 | cbm_store_t *store = cbm_store_open_path_query(db_path); |
| 3161 | if (!store) { |
| 3162 | return CBM_STORE_ERR; |
| 3163 | } |
| 3164 | int rc = cbm_store_generation(store, out, out_size); |
| 3165 | cbm_store_close(store); |
| 3166 | return rc; |
| 3167 | } |
| 3168 | |
| 3169 | static bool split_published_generation(const char *generation, char uid[18], |
| 3170 | unsigned long long *mutation) { |
no test coverage detected