-
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
Cleanup/Merge | Remove Reliability Section #3042
base: main
Are you sure you want to change the base?
Conversation
This looks good to me. Are the TdsParser.ReliabilitySection struct definitions due to be removed in a future PR? |
These can be deleted as well in netcore SqlDataReader: SqlClient/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlDataReader.cs Lines 264 to 271 in fca9c27
(and many others in there) As well as SqlClient/src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/TdsParser.netfx.cs Lines 188 to 194 in fca9c27
(and others in there) and of course the defitinition SqlClient/src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/TdsParser.netfx.cs Lines 12 to 92 in fca9c27
|
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
src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/SqlDataReader.cs
Outdated
Show resolved
Hide resolved
@cheenamalhotra @mdaigle Can this be merged? That would help with #2953 |
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.