Fixup for nodeAgg.c refactor.
Commit 5b618e1f
made an unintended behavior change.
This commit is contained in:
parent
032f9ae012
commit
b7fabe80df
|
@ -1287,6 +1287,9 @@ build_hash_tables(AggState *aggstate)
|
||||||
|
|
||||||
Assert(perhash->aggnode->numGroups > 0);
|
Assert(perhash->aggnode->numGroups > 0);
|
||||||
|
|
||||||
|
if (perhash->hashtable)
|
||||||
|
ResetTupleHashTable(perhash->hashtable);
|
||||||
|
else
|
||||||
build_hash_table(aggstate, setno, perhash->aggnode->numGroups);
|
build_hash_table(aggstate, setno, perhash->aggnode->numGroups);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue