| 48 | } |
| 49 | |
| 50 | static void cleanup_db(const char *path) { |
| 51 | remove(path); |
| 52 | char aux[512]; |
| 53 | snprintf(aux, sizeof(aux), "%s-wal", path); |
| 54 | remove(aux); |
| 55 | snprintf(aux, sizeof(aux), "%s-shm", path); |
| 56 | remove(aux); |
| 57 | } |
| 58 | |
| 59 | /* ── Tests ──────────────────────────────────────────────────────── */ |
| 60 |