view src/lib.rs @ 97:4754dd356f5e

Fix several bugs in the Table*/Block implementations 1. Calculate correct number of restarts, even if it is 0 2. Use correct slice length when encoding the value length 3. Remove a weird duplicate implementation of Footer that I wrote for no reason 4. Move non-method functions out of Table 5. Don't try to read a filter block as ordinary block 6. Add tests for TableIterator
author Lewin Bormann <lbo@spheniscida.de>
date Sun, 25 Sep 2016 12:32:45 +0200
parents db84cb244062
children cced335dd54d
line wrap: on
line source

#![allow(dead_code)]

extern crate crc;
extern crate integer_encoding;
extern crate libc;
extern crate rand;

mod block;
mod blockhandle;
mod block_cache;
mod disk_env;
mod env;
mod filter;
mod filter_block;
mod key_types;
mod log;
mod memtable;
mod merging_iter;
mod options;
mod skipmap;
mod snapshot;
mod table_builder;
mod table_reader;
mod types;
mod write_batch;

mod test_util;

pub use types::Comparator;

#[cfg(test)]
mod tests {}