Fix java test buid broken by 7d87f02799

Summary: 7d87f02799 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
main
sdong 9 years ago
parent 11672df19a
commit b99d4276f2
  1. 2
      java/rocksjni/write_batch_test.cc

@ -52,7 +52,7 @@ jbyteArray Java_org_rocksdb_WriteBatchTest_getContents(
std::string state; std::string state;
rocksdb::ColumnFamilyMemTablesDefault cf_mems_default(mem); rocksdb::ColumnFamilyMemTablesDefault cf_mems_default(mem);
rocksdb::Status s = rocksdb::Status s =
rocksdb::WriteBatchInternal::InsertInto(b, &cf_mems_default); rocksdb::WriteBatchInternal::InsertInto(b, &cf_mems_default, nullptr);
int count = 0; int count = 0;
rocksdb::Arena arena; rocksdb::Arena arena;
rocksdb::ScopedArenaIterator iter(mem->NewIterator( rocksdb::ScopedArenaIterator iter(mem->NewIterator(

Loading…
Cancel
Save