forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2b16208
committed
Fix ILIST_DEBUG build
Inc8ad4d8 dlist_member_check()'s arguments were made const. Unfortunatelythe implementation of dlist_member_check() used dlist_foreach(), whichcurrently doesn't work for const lists.As a workaround, open-code the list iteration. The other check functionsalready do so.Discussion:https://postgr.es/m/20230118182214.co7dp4oahiunwg57@awork3.anarazel.de1 parent47bb9db commit2b16208
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
| 62 | + | |
63 | 63 |
| |
64 |
| - | |
| 64 | + | |
| 65 | + | |
65 | 66 |
| |
66 |
| - | |
| 67 | + | |
67 | 68 |
| |
68 | 69 |
| |
69 | 70 |
| |
|
0 commit comments
Comments
(0)