Fix typo in grouping_is_sortable()

pull/2079/head
metdos 2018-01-30 15:02:01 +02:00 committed by velioglu
parent 0880a3e1b4
commit 2a24e849fb
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ BuildAggregatePlan(Query *masterQuery, Plan *subPlan)
if (groupColumnCount > 0)
{
bool groupingIsHashable = grouping_is_hashable(groupColumnList);
bool groupingIsSortable = grouping_is_hashable(groupColumnList);
bool groupingIsSortable = grouping_is_sortable(groupColumnList);
bool hasDistinctAggregate = HasDistinctAggregate(masterQuery);
if (!groupingIsHashable && !groupingIsSortable)