Merge pull request #299 from ankgup87/master

[Java] Fix build
main
ankgup87 10 years ago
commit e17bc65c75
  1. 2
      java/rocksjni/write_batch.cc

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

Loading…
Cancel
Save