- Notifications
You must be signed in to change notification settings - Fork5
Commit53c7cff
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 parent093129c commit53c7cff
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
| 176 | + | |
176 | 177 |
| |
177 | 178 |
| |
178 | 179 |
| |
| |||
335 | 336 |
| |
336 | 337 |
| |
337 | 338 |
| |
| 339 | + | |
338 | 340 |
| |
339 | 341 |
| |
340 | 342 |
| |
|
0 commit comments
Comments
(0)