- Notifications
You must be signed in to change notification settings - Fork28
Commitebeb3de
committed
Simplify show_incremental_sort_info a bit
Incremental sort always processes at least one full group group beforeswitching to prefix groups, so it's enough to check just the number offull groups. There was no risk of division by zero due to the extracondition, but it made the code harder to understand.Reported-by: Ranier VilelaDiscussion:https://postgr.es/m/CAEudQAp+7qoS92-4V1vLChpdY3vEkLCbf+gye6P-4cirE-0z0A@mail.gmail.com1 parent9155b4b commitebeb3de
1 file changed
+2
-3
lines changedLines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2922 | 2922 |
| |
2923 | 2923 |
| |
2924 | 2924 |
| |
2925 |
| - | |
2926 | 2925 |
| |
2927 | 2926 |
| |
2928 | 2927 |
| |
2929 | 2928 |
| |
2930 | 2929 |
| |
2931 | 2930 |
| |
2932 | 2931 |
| |
2933 |
| - | |
2934 |
| - | |
| 2932 | + | |
2935 | 2933 |
| |
2936 | 2934 |
| |
2937 | 2935 |
| |
| |||
2940 | 2938 |
| |
2941 | 2939 |
| |
2942 | 2940 |
| |
| 2941 | + | |
2943 | 2942 |
| |
2944 | 2943 |
| |
2945 | 2944 |
| |
|
0 commit comments
Comments
(0)