-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BufferedDataReader needs to be accommodating to incorrect values #20364
Labels
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
punted-for-5.0
type-bug
Milestone
Comments
13 tasks
This requires passing enabledDetailedErrors to Execute method via RelationalCommandParameterObject which is public. |
Adding a property to RelationalCommandParameterObject is not a breaking change. |
No new ctor to take value for that parameter? |
Yes, a new overload |
I'm good with it. |
smitpatel
added a commit
that referenced
this issue
Aug 26, 2020
Resolves #20364 Adds code for error handling when create buffered data reader. Code needs to handle unexpected nulls and incorrect type of data encountered
smitpatel
added
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
and removed
consider-for-current-release
labels
Aug 26, 2020
smitpatel
added a commit
that referenced
this issue
Aug 26, 2020
Resolves #20364 Adds code for error handling when create buffered data reader. Code needs to handle unexpected nulls and incorrect type of data encountered
ghost
pushed a commit
that referenced
this issue
Aug 26, 2020
Resolves #20364 Adds code for error handling when create buffered data reader. Code needs to handle unexpected nulls and incorrect type of data encountered
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
punted-for-5.0
type-bug
While working on #20278, we enabled tests which has wrong data to verify we throw better exceptions. All the tests are working correctly for Sqlite. But for SqlServer where we use BufferedDataReader, the reader throws early exception while trying to read values. Hence the code not reach the place where we intercept exception to throw better message (that code is part of shaper), BufferedDataReader buffers before calling into shaper.
The text was updated successfully, but these errors were encountered: