Commit 60aebd6
committed
[ORC] Fix bug in WaitingOnGraph::Coalescer::remove.
This method takes a predicate, but was only deleting the first node for which
the predicate returned true.
This patch updates it to remove all nodes for which the predicate returns true.
Bug found by inspection while investigating
#169135. No testcase, since
exercising this bug would involve finding sets with identical hashes.1 parent 590bb3e commit 60aebd6
1 file changed
+15
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
158 | 159 | | |
159 | | - | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
| 164 | + | |
| 165 | + | |
172 | 166 | | |
| 167 | + | |
| 168 | + | |
173 | 169 | | |
| 170 | + | |
| 171 | + | |
174 | 172 | | |
175 | 173 | | |
176 | 174 | | |
| |||
396 | 394 | | |
397 | 395 | | |
398 | 396 | | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
399 | 404 | | |
400 | | - | |
401 | | - | |
402 | 405 | | |
403 | 406 | | |
404 | 407 | | |
| |||
0 commit comments