!791 fix bug that throw VerifyExecption when run a insert query

Merge pull request !791 from luren/fix-insert-bug
This commit is contained in:
i-robot 2021-03-29 09:51:29 +08:00 committed by Gitee
commit 494b05bdc3
1 changed files with 4 additions and 0 deletions

View File

@ -222,6 +222,10 @@ public class BigintGroupByHash
nullGroupId = nextGroupId++;
}
// increase capacity, if necessary. after nextGroupId++, it maybe equals maxFill, so need to check whether need rehash
if (needRehash()) {
tryRehash();
}
return nullGroupId;
}