Added checks for tombstones
This commit is contained in:
@@ -302,6 +302,11 @@ private:
|
|||||||
queryResults.reserve(512);
|
queryResults.reserve(512);
|
||||||
|
|
||||||
for (DualkeyHash *hash : hashList) {
|
for (DualkeyHash *hash : hashList) {
|
||||||
|
// Tombstone
|
||||||
|
if (hash == nullptr) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// The hell of doing 2 conditions with similar logics in
|
// The hell of doing 2 conditions with similar logics in
|
||||||
// the same logical block
|
// the same logical block
|
||||||
if constexpr (searchingInFirstKey) {
|
if constexpr (searchingInFirstKey) {
|
||||||
|
|||||||
Reference in New Issue
Block a user