Skip to content

Commit 47b452c

Browse files
committed
Fix the error of c_test.c
Summary: Fix the error of c_test.c Test Plan: make c_test ./c_test
1 parent 562b7a1 commit 47b452c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

db/c_test.c

+1
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,7 @@ int main(int argc, char** argv) {
758758
{
759759
// Create new database
760760
rocksdb_filterpolicy_t* policy = rocksdb_filterpolicy_create_bloom(10);
761+
rocksdb_options_set_allow_mmap_reads(options, 1);
761762
rocksdb_options_set_filter_policy(options, policy);
762763
rocksdb_options_set_prefix_extractor(options, rocksdb_slicetransform_create_fixed_prefix(3));
763764
rocksdb_options_set_hash_skip_list_rep(options, 5000, 4, 4);

0 commit comments

Comments
 (0)