diff options
author | Determinant <[email protected]> | 2020-06-10 16:17:40 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-06-10 16:17:40 -0400 |
commit | 32a88299721393a5cbd3b369091de7cb77da349c (patch) | |
tree | 2f97916d5b2934a4bb2b99c68723f16fd3835ec8 /src | |
parent | 617c515ec1834501d4835076de3adcfb495d8ef9 (diff) |
add failure generator in test
Diffstat (limited to 'src')
-rw-r--r-- | src/wal.rs | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -172,10 +172,6 @@ impl<F: WALStore> WALWriter<F> { fn new(state: WALState, file_pool: WALFilePool<F>) -> Self { let mut b = Vec::new(); let block_size = 1 << file_pool.block_nbit as u32; - //let block_nbit = state.block_nbit; - //let block_size = 1 << (block_nbit as u32); - //let file_nbit = state.file_nbit; - //let file_size = 1 << (file_nbit as u64); b.resize(block_size as usize, 0); WALWriter{ state, |