Fixing JNI release build for gcc (#975)

main
Tomas Kolda 8 years ago committed by Adam Retter
parent 7260662b39
commit 13f7a01f61
  1. 2
      java/rocksjni/write_batch_test.cc

@ -60,7 +60,9 @@ jbyteArray Java_org_rocksdb_WriteBatchTest_getContents(
rocksdb::ParsedInternalKey ikey;
memset(reinterpret_cast<void*>(&ikey), 0, sizeof(ikey));
bool parsed = rocksdb::ParseInternalKey(iter->key(), &ikey);
if (!parsed) {
assert(parsed);
}
switch (ikey.type) {
case rocksdb::kTypeValue:
state.append("Put(");

Loading…
Cancel
Save