Commit 6b7b59e
committed
[DB-33036] resultset: fetch next might return no more results
If the last result was larger than the max message size the result set
will not be marked complete when it's fetched, but the next fetch will
return no more data. In that case we want to return None else the
result set index will be too large and throw an error.
After fetching more results check to see if we're done; if so return
None.1 parent 203901b commit 6b7b59e
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments