Fix the Java build which was broken by a4d9c02

Summary: Closes https://github.com/facebook/rocksdb/pull/2406

Differential Revision: D5181091

Pulled By: ajkr

fbshipit-source-id: fd72525da4fb1d50143080a210f8d824cbb968d6
This commit is contained in:
Adam Retter 2017-06-04 18:40:37 -07:00 committed by Facebook Github Bot
parent 7e5fac2c34
commit 7e8d95cc0e

View file

@ -46,7 +46,8 @@ jbyteArray Java_org_rocksdb_WriteBatchTest_getContents(
options.memtable_factory = factory;
rocksdb::MemTable* mem = new rocksdb::MemTable(
cmp, rocksdb::ImmutableCFOptions(options),
rocksdb::MutableCFOptions(options), &wb, rocksdb::kMaxSequenceNumber);
rocksdb::MutableCFOptions(options), &wb, rocksdb::kMaxSequenceNumber,
0 /* column_family_id */);
mem->Ref();
std::string state;
rocksdb::ColumnFamilyMemTablesDefault cf_mems_default(mem);