Compare commits
1 Commits
main
...
hotfix/lam
Author | SHA1 | Date | |
---|---|---|---|
|
428d713260 |
@ -307,6 +307,7 @@ jobject Java_org_rocksdb_TransactionDB_getLockStatusData(JNIEnv* env,
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<<<<<<< Updated upstream
|
||||||
const rocksdb::HashMapJni::FnMapKV<const int32_t, const rocksdb::KeyLockInfo>
|
const rocksdb::HashMapJni::FnMapKV<const int32_t, const rocksdb::KeyLockInfo>
|
||||||
fn_map_kv =
|
fn_map_kv =
|
||||||
[env, txn_db, &lock_status_data](
|
[env, txn_db, &lock_status_data](
|
||||||
@ -315,6 +316,13 @@ jobject Java_org_rocksdb_TransactionDB_getLockStatusData(JNIEnv* env,
|
|||||||
const jobject jlong_column_family_id =
|
const jobject jlong_column_family_id =
|
||||||
rocksdb::LongJni::valueOf(env, pair.first);
|
rocksdb::LongJni::valueOf(env, pair.first);
|
||||||
if (jlong_column_family_id == nullptr) {
|
if (jlong_column_family_id == nullptr) {
|
||||||
|
=======
|
||||||
|
const rocksdb::HashMapJni::FnMapKV<const int32_t, const rocksdb::KeyLockInfo> fn_map_kv =
|
||||||
|
[env](const std::pair<const int32_t, const rocksdb::KeyLockInfo>& pair) {
|
||||||
|
const jobject jlong_column_family_id =
|
||||||
|
rocksdb::LongJni::valueOf(env, pair.first);
|
||||||
|
if (jlong_column_family_id == nullptr) {
|
||||||
|
>>>>>>> Stashed changes
|
||||||
// an error occurred
|
// an error occurred
|
||||||
return std::unique_ptr<std::pair<jobject, jobject>>(nullptr);
|
return std::unique_ptr<std::pair<jobject, jobject>>(nullptr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user