aboutsummaryrefslogtreecommitdiff
path: root/examples/demo1.rs
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-06-16 22:01:33 -0400
committerDeterminant <[email protected]>2020-06-16 22:01:33 -0400
commit769ffcbe2bd1d268f5214c393a7817faf8944162 (patch)
treee951ae3a588fb2e27339ba7e66aebcd5ab45812f /examples/demo1.rs
parent1438417071c5a1834feacabc9fbd53cb91bed62a (diff)
allow using customized aiomgrv0.1.2
Diffstat (limited to 'examples/demo1.rs')
-rw-r--r--examples/demo1.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/demo1.rs b/examples/demo1.rs
index e214177..d51801d 100644
--- a/examples/demo1.rs
+++ b/examples/demo1.rs
@@ -32,7 +32,7 @@ fn main() {
let mut loader = WALLoader::new();
loader.file_nbit(9).block_nbit(8);
- let store = WALStoreAIO::new(&wal_dir, true, recover);
+ let store = WALStoreAIO::new(&wal_dir, true, recover, None).unwrap();
let mut wal = loader.load(store).unwrap();
for _ in 0..3 {
test(
@@ -50,7 +50,7 @@ fn main() {
);
}
- let store = WALStoreAIO::new(&wal_dir, false, recover);
+ let store = WALStoreAIO::new(&wal_dir, false, recover, None).unwrap();
let mut wal = loader.load(store).unwrap();
for _ in 0..3 {
test(
@@ -64,7 +64,7 @@ fn main() {
);
}
- let store = WALStoreAIO::new(&wal_dir, false, recover);
+ let store = WALStoreAIO::new(&wal_dir, false, recover, None).unwrap();
let mut wal = loader.load(store).unwrap();
for _ in 0..3 {
let mut ids = Vec::new();