- Notifications
You must be signed in to change notification settings - Fork311
Remove SQL 2000 client-side debugging support#2981
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This also recurses down into NativeMethods.cs, to help clean up PInvokes.
Uhhhhhhhhhhhhhhhhhhhhhhhhhhh 😅 |
edwardneal commentedNov 11, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
No worries - I'll just merge back into my branch once#2997 is done. |
codecovbot commentedNov 13, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #2981 +/- ##==========================================+ Coverage 72.48% 72.56% +0.07%========================================== Files 288 288 Lines 59493 59385 -108 ==========================================- Hits 43123 43091 -32+ Misses 16370 16294 -76
Flags with carried forward coverage won't be shown.Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Let's gooooooooo delete that code!
#2839 next! :) |
4a2fbae
intodotnet:mainUh oh!
There was an error while loading.Please reload this page.
Follows up#2940, removing the client-side support for SQL 2000's debugging mechanisms from netfx and aligning with netcore.
The SqlConnection diff will be easier to parse with whitespace changes disabled. I've removed the methods which enable the now-defunct debugging, the
SqlDebugContext
class andMEMMAP
struct which they use and the PInvokes they reference. These PInvokes were the only thing innetfx\src\Microsoft\Data\Common\NativeMethods.cs
, so I've deleted the file.This isn't critical for preview3.
/cc@benrr101 - there's no need to port PInvokes from NativeMethods.cs anywhere. It's the same story for the SafeNativeMethods.cs file in the same folder.