This commit is contained in:
hzcheng 2020-04-29 10:21:59 +08:00
parent 4a037a661f
commit 61a6a6d8e4
1 changed files with 1 additions and 0 deletions

View File

@ -520,6 +520,7 @@ SHashMutableIterator *taosHashCreateIter(SHashObj *pHashObj) {
static SHashNode *getNextHashNode(SHashMutableIterator *pIter) {
assert(pIter != NULL);
pIter->entryIndex++;
while (pIter->entryIndex < pIter->pHashObj->capacity) {
SHashEntry *pEntry = pIter->pHashObj->hashList[pIter->entryIndex];