forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6cb93be
committed
Convert misleading while loop into an if condition
This seems to be leftover fromea15e18 and from when we used to evaluateSRFs at each node.Since there is an unconditional "return" at the end of the loop body, only1 loop is ever possible, so we can just change this into an if condition.There is no actual bug being fixed here so no back-patch. It seems fine tojust fix this anomaly in master only.Author: Greg NancarrowDiscussion:https://postgr.es/m/CAJcOf-d7T1q0az-D8evWXnsuBZjigT04WkV5hCAOEJQZRWy28w@mail.gmail.com1 parentfbe9b80 commit6cb93be
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 |
| - | |
| 106 | + | |
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
|
0 commit comments
Comments
(0)