-
Notifications
You must be signed in to change notification settings - Fork 292
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
Fix stored procedure issues introduced in v1.1.2 #544
Conversation
src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/TdsParser.cs
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParser.cs
Show resolved
Hide resolved
@cheenamalhotra Did you manually run the test in ManualTests\SQL\AsyncTest\AsyncCancelledConnectionsTest.cs to verify the original issue is still fixed? The test fails regularly in pipelines, so it is disabled by default. But it always worked well on my local machine. |
Yes I verified that test. Did you experience any issues with that one? |
Can the issue details in #542 be converted to a test to make sure this doesn't regress in future? |
Fixes #542
This PR revises fix introduced in #490 to address stored procedure concerns.
The check for
_attentionSent
is applicable for both TDS Tokens DONEPROC and DONE, whereas, we only want to conditionally work when DONE_ATTN bit is received, which is validated whenHasReceivedAttention
is populated in the same flow.This seems like the right way to fix MARS TDS Header issue.