- Notifications
You must be signed in to change notification settings - Fork5
Commit88047e5
committed
Fix an error when a set-returning function fails halfway through the execution
If the function using yield to return rows fails halfway, the iteratorstays open and subsequent calls to the function will resume readingfrom it. The fix is to unref the iterator and set it to NULL if therehas been an error.Jan Urbański1 parent8995440 commit88047e5
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1164 | 1164 |
| |
1165 | 1165 |
| |
1166 | 1166 |
| |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
1167 | 1175 |
| |
1168 | 1176 |
| |
1169 | 1177 |
| |
|
0 commit comments
Comments
(0)