Fix failed merge due to overwriting the hashidx and pretending no rehash is in progress
Former-commit-id: 0524b822a05b732e0f3e510dcaeb3304069d3595
This commit is contained in:
parent
50060b4a13
commit
a2c2337cd9
@ -201,8 +201,6 @@ int dictMerge(dict *dst, dict *src)
|
||||
std::swap(dst->iterators, src->iterators);
|
||||
}
|
||||
|
||||
src->rehashidx = -1;
|
||||
|
||||
if (!dictIsRehashing(dst) && !dictIsRehashing(src))
|
||||
{
|
||||
if (dst->ht[0].size >= src->ht[0].size)
|
||||
|
Loading…
x
Reference in New Issue
Block a user