]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
Fix the Java build which was broken by a4d9c02
authorAdam Retter <adam.retter@googlemail.com>
Mon, 5 Jun 2017 01:40:37 +0000 (18:40 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 5 Jun 2017 01:41:33 +0000 (18:41 -0700)
Summary: Closes https://github.com/facebook/rocksdb/pull/2406

Differential Revision: D5181091

Pulled By: ajkr

fbshipit-source-id: fd72525da4fb1d50143080a210f8d824cbb968d6

java/rocksjni/write_batch_test.cc

index e9e945a52a83c3d4c7b2cbfccd8e87a86d7dd23f..06ca4f296f331161584df5a774b88cc4b7a5cc23 100644 (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);