fix: invalid vg count
This commit is contained in:
parent
92ba51a479
commit
6c039c4501
|
@ -5438,8 +5438,6 @@ int32_t blockDistFunction(SqlFunctionCtx* pCtx) {
|
||||||
if (pDistInfo->maxRows < p1.maxRows) {
|
if (pDistInfo->maxRows < p1.maxRows) {
|
||||||
pDistInfo->maxRows = p1.maxRows;
|
pDistInfo->maxRows = p1.maxRows;
|
||||||
}
|
}
|
||||||
pDistInfo->numOfVgroups += (p1.numOfTables != 0 ? 1 : 0);
|
|
||||||
|
|
||||||
pDistInfo->numOfVgroups += (p1.numOfTables != 0 ? 1 : 0);
|
pDistInfo->numOfVgroups += (p1.numOfTables != 0 ? 1 : 0);
|
||||||
for (int32_t i = 0; i < tListLen(pDistInfo->blockRowsHisto); ++i) {
|
for (int32_t i = 0; i < tListLen(pDistInfo->blockRowsHisto); ++i) {
|
||||||
pDistInfo->blockRowsHisto[i] += p1.blockRowsHisto[i];
|
pDistInfo->blockRowsHisto[i] += p1.blockRowsHisto[i];
|
||||||
|
|
Loading…
Reference in New Issue