Skip to content

Commit

Permalink
supplement to redis#5692
Browse files Browse the repository at this point in the history
  • Loading branch information
lyq2333 committed Nov 29, 2023
1 parent 3431b1f commit aee4576
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dict.c
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ dictEntry *dictTwoPhaseUnlinkFind(dict *d, const void *key, dictEntry ***plink,

for (table = 0; table <= 1; table++) {
idx = h & DICTHT_SIZE_MASK(d->ht_size_exp[table]);
if (table == 0 && (long)idx < d->rehashidx) continue;
dictEntry **ref = &d->ht_table[table][idx];
while (ref && *ref) {
void *de_key = dictGetKey(*ref);
Expand Down

0 comments on commit aee4576

Please sign in to comment.