Fixing JNI release build for gcc (#975)
This commit is contained in:
parent
7260662b39
commit
13f7a01f61
@ -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);
|
||||
assert(parsed);
|
||||
if (!parsed) {
|
||||
assert(parsed);
|
||||
}
|
||||
switch (ikey.type) {
|
||||
case rocksdb::kTypeValue:
|
||||
state.append("Put(");
|
||||
|
Loading…
Reference in New Issue
Block a user