Skip to content

Merge | Align Task usage / ArrayPool / IsColumnEncryptionSupported netcore/netfx - #2982

Merged
benrr101 merged 14 commits into
dotnet:mainfrom
MichelZ:tdsparser-align-2
Nov 26, 2024
Merged

Merge | Align Task usage / ArrayPool / IsColumnEncryptionSupported netcore/netfx#2982
benrr101 merged 14 commits into
dotnet:mainfrom
MichelZ:tdsparser-align-2

Conversation

@MichelZ

Copy link
Copy Markdown
Contributor

Part of #2953

Aligning Task return, bringing over ArrayPool usage and aligning IsColumnEncryptionSupported changes between netcore and netfx

@codecov

codecovBot commented Nov 6, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 75.67568% with 18 lines in your changes missing coverage. Please review.

Project coverage is 72.46%. Comparing base (4bc9ee6) to head (43a4fd6).
Report is 38 commits behind head on main.

Files with missing linesPatch %Lines
...nt/netfx/src/Microsoft/Data/SqlClient/TdsParser.cs78.26%15 Missing ⚠️
.../netcore/src/Microsoft/Data/SqlClient/TdsParser.cs40.00%3 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@## main #2982 +/- ##
==========================================
- Coverage 72.50% 72.46% -0.04% 
==========================================
Files 288 288 Lines 59529 59507 -22 ==========================================
- Hits 43159 43122 -37 - Misses 16370 16385 +15 
FlagCoverage Δ
addons92.58% <ø> (ø)
netcore75.39% <40.00%> (-0.05%)⬇️
netfx70.90% <78.26%> (-0.03%)⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MichelZMichelZ mentioned this pull request Nov 7, 2024

@benrr101benrr101 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, I think this is a decent change. I'm hesitant to start touching things in the TdsParser, but these changes seem to be pretty constrained. Only a few comments. Not sure about the feasibility of using stackalloc instead of array pool in the last commit.

@MichelZMichelZ changed the title Align Task usage / ArrayPool / IsColumnEncryptionSupported netcore/netfxMerge | Align Task usage / ArrayPool / IsColumnEncryptionSupported netcore/netfxNov 24, 2024
@mdaiglemdaigle added the Common Project 🚮 Things that relate to the common project project label Nov 25, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Common Project 🚮Things that relate to the common project project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@MichelZ@benrr101@David-Engel@mdaigle@cheenamalhotra