RocksJava Fix after MutableCFOptions change.

This commit is contained in:
fyrz 2014-10-27 21:32:21 +01:00
parent 714c63c584
commit 679a9671fe

View File

@ -294,8 +294,8 @@ jbyteArray Java_org_rocksdb_WriteBatchTest_getContents(
options.memtable_factory = factory;
rocksdb::MemTable* mem = new rocksdb::MemTable(
cmp, rocksdb::ImmutableCFOptions(options),
rocksdb::MemTableOptions(rocksdb::MutableCFOptions(options,
rocksdb::ImmutableCFOptions(options)), options));
rocksdb::MutableCFOptions(options,
rocksdb::ImmutableCFOptions(options)));
mem->Ref();
std::string state;
rocksdb::ColumnFamilyMemTablesDefault cf_mems_default(mem, &options);