forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8445f5a
committed
Improve two comments related to a boolean DefElem's value
The original comments mentioned a "parameter" as something not definedin a fast-exit path to assume a true status. This is rather confusingas the parameter DefElem is defined, and the intention is to check ifits value is defined. This improves both comments to mention the valueassigned to the DefElem's value instead, so as future patches are ableto catch the tweak if this code pattern gets copied around more.Author: Peter SmithDiscussion:https://postgr.es/m/CAHut+Pv0yWynWTmp4o34s0d98xVubys9fy=p0YXsZ5_sUcNnMw@mail.gmail.com1 parent1cd1821 commit8445f5a
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
321 | 321 |
| |
322 | 322 |
| |
323 | 323 |
| |
324 |
| - | |
| 324 | + | |
325 | 325 |
| |
326 | 326 |
| |
327 | 327 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
111 |
| - | |
| 111 | + | |
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
|
0 commit comments
Comments
(0)