Fix the error of c_test.c

Summary:
Fix the error of c_test.c

Test Plan:
make c_test
./c_test
This commit is contained in:
Yueh-Hsuan Chiang 2014-08-20 17:05:29 -07:00
parent 562b7a1f28
commit 47b452cfcf

View File

@ -758,6 +758,7 @@ int main(int argc, char** argv) {
{
// Create new database
rocksdb_filterpolicy_t* policy = rocksdb_filterpolicy_create_bloom(10);
rocksdb_options_set_allow_mmap_reads(options, 1);
rocksdb_options_set_filter_policy(options, policy);
rocksdb_options_set_prefix_extractor(options, rocksdb_slicetransform_create_fixed_prefix(3));
rocksdb_options_set_hash_skip_list_rep(options, 5000, 4, 4);