Cleanup/Merge | Remove Reliability Section#3042
Closed
benrr101 wants to merge 3 commits intodotnet:mainfrom
Closed
Cleanup/Merge | Remove Reliability Section#3042benrr101 wants to merge 3 commits intodotnet:mainfrom
benrr101 wants to merge 3 commits intodotnet:mainfrom
Conversation
Contributor
|
This looks good to me. Are the TdsParser.ReliabilitySection struct definitions due to be removed in a future PR? |
Contributor
|
These can be deleted as well in netcore SqlDataReader: (and many others in there) As well as (and others in there) and of course the defitinition |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3042 +/- ##
=======================================
Coverage 72.66% 72.66%
=======================================
Files 283 283
Lines 58975 58909 -66
=======================================
- Hits 42853 42806 -47
+ Misses 16122 16103 -19
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
73caecc to
c099dab
Compare
edwardneal
reviewed
Nov 28, 2024
src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/SqlDataReader.cs
Outdated
Show resolved
Hide resolved
Contributor
|
@cheenamalhotra @mdaigle Can this be merged? That would help with #2953 |
paulmedynski
approved these changes
Jan 8, 2025
mdaigle
approved these changes
Jan 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description: After some discussion with @saurabh500 we came to the conclusion that it's just not beneficial to have the ReliabilitySection code in the netfx project. It is only included in debug builds (which we don't even use for CI builds anyhow), and it makes massive clutter in the code base. Although I've experimented with some ideas to leave it in place but cleanup the code, simply removing it is probably the easiest solution.
Testing: Project still builds without it and since it provides no functionality, it won't break anything to remove it.