- Notifications
You must be signed in to change notification settings - Fork5
Commit89d5351
committed
In planner.c, avoid assuming that all PathTargets have sortgrouprefs.
The struct definition for PathTarget specifies that a NULL sortgrouprefspointer means no sortgroupref labels. While it's likely that thereshould always be at least one labeled column in the places that wereunconditionally fetching through the pointer, it seems wiser to adhere tothe data structure specification and test first. Add a macro to make thisconvenient. Per experimentation with running the regression tests with avery small parallelization threshold --- the crash I observed may wellrepresent a bug elsewhere, but still this coding was not very robust.Report: <20756.1465834072@sss.pgh.pa.us>1 parentcd9b4f2 commit89d5351
2 files changed
+9
-5
lines changedLines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4222 | 4222 |
| |
4223 | 4223 |
| |
4224 | 4224 |
| |
4225 |
| - | |
| 4225 | + | |
4226 | 4226 |
| |
4227 | 4227 |
| |
4228 | 4228 |
| |
| |||
4304 | 4304 |
| |
4305 | 4305 |
| |
4306 | 4306 |
| |
4307 |
| - | |
| 4307 | + | |
4308 | 4308 |
| |
4309 | 4309 |
| |
4310 | 4310 |
| |
| |||
4556 | 4556 |
| |
4557 | 4557 |
| |
4558 | 4558 |
| |
4559 |
| - | |
| 4559 | + | |
4560 | 4560 |
| |
4561 | 4561 |
| |
4562 | 4562 |
| |
| |||
4757 | 4757 |
| |
4758 | 4758 |
| |
4759 | 4759 |
| |
4760 |
| - | |
| 4760 | + | |
4761 | 4761 |
| |
4762 | 4762 |
| |
4763 | 4763 |
| |
| |||
4847 | 4847 |
| |
4848 | 4848 |
| |
4849 | 4849 |
| |
4850 |
| - | |
| 4850 | + | |
4851 | 4851 |
| |
4852 | 4852 |
| |
4853 | 4853 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
783 | 783 |
| |
784 | 784 |
| |
785 | 785 |
| |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
786 | 790 |
| |
787 | 791 |
| |
788 | 792 |
| |
|
0 commit comments
Comments
(0)