Commit b7fabe80 authored by Jeff Davis's avatar Jeff Davis

Fixup for nodeAgg.c refactor.

Commit 5b618e1f made an unintended behavior change.
parent 032f9ae0
...@@ -1287,7 +1287,10 @@ build_hash_tables(AggState *aggstate) ...@@ -1287,7 +1287,10 @@ build_hash_tables(AggState *aggstate)
Assert(perhash->aggnode->numGroups > 0); Assert(perhash->aggnode->numGroups > 0);
build_hash_table(aggstate, setno, perhash->aggnode->numGroups); if (perhash->hashtable)
ResetTupleHashTable(perhash->hashtable);
else
build_hash_table(aggstate, setno, perhash->aggnode->numGroups);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment