Merge pull request #1754 from taosdata/hotfix/fix-hash-entry-assertion-issue

fix double-fix on hash entry++.
This commit is contained in:
slguan 2020-04-30 11:43:46 +08:00 committed by GitHub
commit 6a043a2bf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

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