r2dbc / r2dbc-mssql

R2DBC Driver for Microsoft SQL Server using TDS (Tabular Data Stream) Protocol
Apache License 2.0
183 stars 32 forks source link

Request more elements when decoding a large result. #217

Closed gvisokinskas closed 3 years ago

gvisokinskas commented 3 years ago

Signed-off-by: Giedrius Visokinskas 14175125+gvisokinskas@users.noreply.github.com

Issue description

https://github.com/r2dbc/r2dbc-mssql/issues/216

mp911de commented 3 years ago

Thanks a lot for your work and your help. I decided to use concatMapIterable(…) to fix the count issue. As outlined in #216, decoding could also lead to multiple items being produced and that can lead to overflows and since we addressed underflows, we had to fix the other issue as well.