-
Notifications
You must be signed in to change notification settings - Fork 315
Merge | TdsParserStateObject packet handling #3603
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
Merge | TdsParserStateObject packet handling #3603
Conversation
…ord has been written to it
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3603 +/- ##
===========================================
- Coverage 69.61% 59.32% -10.30%
===========================================
Files 276 270 -6
Lines 61714 61431 -283
===========================================
- Hits 42964 36441 -6523
- Misses 18750 24990 +6240
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
I've brought this up-to-date following the TdsParser merge work, can someone run CI please? |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
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.
Generally speaking, looks good to me!
Description
This follows up #3394, merging a number of methods relating to packet handling and some final errata. This is split into multiple commits for ease of review.
I'm moving a few members from TdsParserStateObject to TdsParserStateObjectNative:
SetPacketData is the only truly standout method here. The netfx implementation was structured slightly differently to the netcore implementation, and it also cleared _outBuff after writing a SecureString to the packet. I've added this feature in dcd231e.
This is the final PR prior to the merge of TdsParserStateObject and TdsParserStateObjectNative.
Issues
Relates to #1261.
Testing
Automated tests pass. Can someone run CI please?