(repo: &Repository)
| 37 | } |
| 38 | |
| 39 | fn semantic_rows(repo: &Repository) -> (u64, u64, u64) { |
| 40 | let db = repo.pristine().shared_database().unwrap(); |
| 41 | let txn = db.begin_read().unwrap(); |
| 42 | ( |
| 43 | txn.open_table(atomic_core::crdt::tables::TRUNKS) |
| 44 | .unwrap() |
| 45 | .len() |
| 46 | .unwrap(), |
| 47 | txn.open_table(atomic_core::crdt::tables::BRANCHES) |
| 48 | .unwrap() |
| 49 | .len() |
| 50 | .unwrap(), |
| 51 | txn.open_table(atomic_core::crdt::tables::LEAVES) |
| 52 | .unwrap() |
| 53 | .len() |
| 54 | .unwrap(), |
| 55 | ) |
| 56 | } |
| 57 | |
| 58 | // Raw compaction is confined to this disposable fixture, after the supported |
| 59 | // repository handle and all transactions have closed. Never a live migration. |
no test coverage detected