()
| 49 | use tempfile::TempDir; |
| 50 | |
| 51 | fn cat() -> (SystemCatalog, TempDir) { |
| 52 | let tmp = TempDir::new().unwrap(); |
| 53 | let cat = SystemCatalog::open(&tmp.path().join("system.redb")).unwrap(); |
| 54 | (cat, tmp) |
| 55 | } |
| 56 | |
| 57 | fn seq(tenant: u64, name: &str) -> StoredSequence { |
| 58 | StoredSequence::new(tenant, name.to_string(), "o".into()) |