Fix typo in grouping_is_sortable()

pull/1988/head
metdos 2018-01-30 15:02:01 +02:00
parent 00f9082cd4
commit 3d540d961c
1 changed files with 1 additions and 1 deletions

View File

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