- Notifications
You must be signed in to change notification settings - Fork28
Commit06fa667
committed
Ensure gatherstate->nextreader is properly initialized.
The previously code worked OK as long as a Gather node was neverrescanned, or if it was rescanned, as long as it got at least asmany workers on rescan as it had originally. But if the numberof workers ever decreased on a rescan, then it could crash.Andreas Seltenreich1 parentefeb313 commit06fa667
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
172 | 172 |
| |
173 | 173 |
| |
174 | 174 |
| |
| 175 | + | |
175 | 176 |
| |
176 | 177 |
| |
177 | 178 |
| |
| |||
334 | 335 |
| |
335 | 336 |
| |
336 | 337 |
| |
| 338 | + | |
337 | 339 |
| |
338 | 340 |
| |
339 | 341 |
| |
|
0 commit comments
Comments
(0)