File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2922,16 +2922,14 @@ show_incremental_sort_info(IncrementalSortState *incrsortstate,
2922
2922
* contribute anything meaningful.
2923
2923
*/
2924
2924
fullsortGroupInfo = & incsort_info -> fullsortGroupInfo ;
2925
- prefixsortGroupInfo = & incsort_info -> prefixsortGroupInfo ;
2926
2925
2927
2926
/*
2928
2927
* Since we never have any prefix groups unless we've first sorted
2929
2928
* a full groups and transitioned modes (copying the tuples into a
2930
2929
* prefix group), we don't need to do anything if there were 0 full
2931
2930
* groups.
2932
2931
*/
2933
- if (fullsortGroupInfo -> groupCount == 0 &&
2934
- prefixsortGroupInfo -> groupCount == 0 )
2932
+ if (fullsortGroupInfo -> groupCount == 0 )
2935
2933
continue ;
2936
2934
2937
2935
if (es -> workers_state )
@@ -2940,6 +2938,7 @@ show_incremental_sort_info(IncrementalSortState *incrsortstate,
2940
2938
indent_first_line = es -> workers_state == NULL || es -> verbose ;
2941
2939
show_incremental_sort_group_info (fullsortGroupInfo , "Full-sort" ,
2942
2940
indent_first_line , es );
2941
+ prefixsortGroupInfo = & incsort_info -> prefixsortGroupInfo ;
2943
2942
if (prefixsortGroupInfo -> groupCount > 0 )
2944
2943
{
2945
2944
if (es -> format == EXPLAIN_FORMAT_TEXT )
You can’t perform that action at this time.
0 commit comments