Commit 356ed50
FIX: FetchMany(number of rows) ignores batch size with LOB columns (#346)
### Work Item / Issue Reference
<!--
IMPORTANT: Please follow the PR template guidelines below.
For mssql-python maintainers: Insert your ADO Work Item ID below (e.g.
AB#37452)
For external contributors: Insert Github Issue number below (e.g. #149)
Only one reference is required - either GitHub issue OR ADO Work Item.
-->
<!-- External contributors: GitHub Issue -->
> GitHub Issue: #345
-------------------------------------------------------------------
### Summary
Fixes FetchMany(number of rows) ignores batch size when table contains
an LOB
<!--
### PR Title Guide
> For feature requests
FEAT: (short-description)
> For non-feature requests like test case updates, config updates ,
dependency updates etc
CHORE: (short-description)
> For Fix requests
FIX: Update FetchMany to break at batch size and update unit tests
> For doc update requests
DOC: (short-description)
> For Formatting, indentation, or styling update
STYLE: (short-description)
> For Refactor, without any feature changes
REFACTOR: (short-description)
> For release related changes, without any feature changes
RELEASE: #<RELEASE_VERSION> (short-description)
### Contribution Guidelines
External contributors:
- Create a GitHub issue first:
https://github.com/microsoft/mssql-python/issues/new
- Link the GitHub issue in the "GitHub Issue" section above
- Follow the PR title format and provide a meaningful summary
mssql-python maintainers:
- Create an ADO Work Item following internal processes
- Link the ADO Work Item in the "ADO Work Item" section above
- Follow the PR title format and provide a meaningful summary
-->
---------
Co-authored-by: gargsaumya <saumyagarg.100@gmail.com>1 parent 1187a4a commit 356ed50
2 files changed
Lines changed: 274 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4033 | 4033 | | |
4034 | 4034 | | |
4035 | 4035 | | |
4036 | | - | |
| 4036 | + | |
| 4037 | + | |
| 4038 | + | |
4037 | 4039 | | |
4038 | 4040 | | |
4039 | 4041 | | |
4040 | 4042 | | |
4041 | 4043 | | |
4042 | | - | |
| 4044 | + | |
4043 | 4045 | | |
4044 | 4046 | | |
4045 | 4047 | | |
| |||
4050 | 4052 | | |
4051 | 4053 | | |
4052 | 4054 | | |
| 4055 | + | |
4053 | 4056 | | |
4054 | 4057 | | |
4055 | 4058 | | |
| |||
4063 | 4066 | | |
4064 | 4067 | | |
4065 | 4068 | | |
4066 | | - | |
4067 | | - | |
| 4069 | + | |
4068 | 4070 | | |
4069 | 4071 | | |
4070 | 4072 | | |
| |||
0 commit comments