hash table: fix adding item to table after deleting all items

This commit is contained in:
nakst 2022-02-21 16:46:46 +00:00
parent 7352b26191
commit 64cedf1b97
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@ HashTableSlot *_HashTableGetSlot(HashTable *table, HashTableKey *key, bool useLo
} }
} }
EsAssert(false); EsAssert(firstTombstone);
return nullptr; return firstTombstone;
} }
HashTableSlot *HashTableGetSlot(HashTable *table, HashTableKey key, bool useLongKeys) { HashTableSlot *HashTableGetSlot(HashTable *table, HashTableKey key, bool useLongKeys) {