forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit87b6c3c

Richard Guo
Fix order of parameters in a cost_sort call
In label_sort_with_costsize, the cost_sort function is called with theparameters 'input_disabled_nodes' and 'input_cost' in the wrong order.This does not cause any plan diffs in the regression tests, becauselabel_sort_with_costsize is only used to label the Sort node nicelyfor EXPLAIN, and cost numbers are not displayed in regression tests.Oversight ine222534. Fixed by passing arguments in the rightorder.Per report from Alexander Lakhin running UBSan.Author: Alexander LakhinDiscussion:https://postgr.es/m/a9b7231d-68bc-f117-a07c-96688f3e6aef@gmail.com1 parentfc415ed commit87b6c3c
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5454 | 5454 |
| |
5455 | 5455 |
| |
5456 | 5456 |
| |
5457 |
| - | |
5458 | 5457 |
| |
| 5458 | + | |
5459 | 5459 |
| |
5460 | 5460 |
| |
5461 | 5461 |
| |
|
0 commit comments
Comments
(0)