TD-166
This commit is contained in:
parent
4a037a661f
commit
61a6a6d8e4
|
@ -520,6 +520,7 @@ SHashMutableIterator *taosHashCreateIter(SHashObj *pHashObj) {
|
||||||
|
|
||||||
static SHashNode *getNextHashNode(SHashMutableIterator *pIter) {
|
static SHashNode *getNextHashNode(SHashMutableIterator *pIter) {
|
||||||
assert(pIter != NULL);
|
assert(pIter != NULL);
|
||||||
|
pIter->entryIndex++;
|
||||||
|
|
||||||
while (pIter->entryIndex < pIter->pHashObj->capacity) {
|
while (pIter->entryIndex < pIter->pHashObj->capacity) {
|
||||||
SHashEntry *pEntry = pIter->pHashObj->hashList[pIter->entryIndex];
|
SHashEntry *pEntry = pIter->pHashObj->hashList[pIter->entryIndex];
|
||||||
|
|
Loading…
Reference in New Issue