From b99d4276f2111d1cb3c6d59163cd1ac15b7fd44e Mon Sep 17 00:00:00 2001 From: sdong Date: Mon, 28 Dec 2015 11:44:47 -0800 Subject: [PATCH] Fix java test buid broken by 7d87f02799bd0a8fd36df24fab5baa4968615c86 Summary: 7d87f02799bd0a8fd36df24fab5baa4968615c86 changed WriteBatch::InsertInto(). Need to change it. Test Plan: Run it. Reviewers: yhchiang, ngbronson Reviewed By: ngbronson Subscribers: leveldb, dhruba Differential Revision: https://reviews.facebook.net/D52353 --- java/rocksjni/write_batch_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/rocksjni/write_batch_test.cc b/java/rocksjni/write_batch_test.cc index 98e53ff17..2690f619e 100644 --- a/java/rocksjni/write_batch_test.cc +++ b/java/rocksjni/write_batch_test.cc @@ -52,7 +52,7 @@ jbyteArray Java_org_rocksdb_WriteBatchTest_getContents( std::string state; rocksdb::ColumnFamilyMemTablesDefault cf_mems_default(mem); rocksdb::Status s = - rocksdb::WriteBatchInternal::InsertInto(b, &cf_mems_default); + rocksdb::WriteBatchInternal::InsertInto(b, &cf_mems_default, nullptr); int count = 0; rocksdb::Arena arena; rocksdb::ScopedArenaIterator iter(mem->NewIterator(