fix rocksdb_options_set_plain_table_factory

master
Niko PLP 1 year ago
parent 4763f40b63
commit 74dee7a20f
  1. 2
      librocksdb-sys/tests/ffi.rs
  2. 4
      src/db_options.rs

@ -1072,7 +1072,7 @@ fn ffi() {
rocksdb_slicetransform_create_fixed_prefix(3),
);
rocksdb_options_set_hash_skip_list_rep(options, 5000, 4, 4);
rocksdb_options_set_plain_table_factory(options, 4, 10, 0.75, 16);
rocksdb_options_set_plain_table_factory(options, 4, 10, 0.75, 16, 0, 0, 0, 0);
rocksdb_options_set_allow_concurrent_memtable_write(options, 0);
db = rocksdb_open(options, dbname, &mut err);

@ -2446,6 +2446,10 @@ impl Options {
options.bloom_bits_per_key,
options.hash_table_ratio,
options.index_sparseness,
0,
0,
0,
0,
);
}
}

Loading…
Cancel
Save