Skip to content
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 | DbConnectionInternal (Merge Only) #2910

Merged
merged 13 commits into from
Oct 24, 2024

Conversation

benrr101
Copy link
Contributor

Description: This PR aims to merge DbConnectionInternal from the netfx and netcore projects. The strategy for this merge is to move the netfx version of the class over (since it has the entire class in one file) and do a two-step merge of the two netcore files. Once combined, the bulk of the code has no differences between the netfx and netcore implementations. The only major difference is that netfx has a collection of performance counters that are updated in certain scenarios.

The commits are broken up into fairly digestible chunks that explain each step along the process. I'd recommend reviewing the PR by stepping through the commits and seeing if you agree with the changes. This version of the PR only contains the merge, no cleanup changes were made.

Testing: Most of the functional tests run locally, though I'm having some difficulty with getting all tests to work. These issues happen main branch as well, so I assume it is unrelated to the code changes.

Copy link
Contributor

@edwardneal edwardneal left a comment

Choose a reason for hiding this comment

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

I'm leaving my comments here, but they should all apply to #2909 too.

The merge looks correct to me - I didn't see any logic change between the files, there are no missing/extra members. There's one logical difference between netfx and netcore though, which might be the result of a bugfix not being ported from netfx.

Copy link

codecov bot commented Oct 11, 2024

Codecov Report

Attention: Patch coverage is 76.47059% with 4 lines in your changes missing coverage. Please review.

Project coverage is 71.87%. Comparing base (39c4604) to head (f75e9d4).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...icrosoft/Data/ProviderBase/DbConnectionInternal.cs 75.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2910      +/-   ##
==========================================
- Coverage   71.92%   71.87%   -0.05%     
==========================================
  Files         294      292       -2     
  Lines       60342    60100     -242     
==========================================
- Hits        43398    43197     -201     
+ Misses      16944    16903      -41     
Flag Coverage Δ
addons 92.90% <ø> (ø)
netcore 75.83% <73.33%> (-0.01%) ⬇️
netfx 70.41% <55.55%> (-0.04%) ⬇️

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.

@cheenamalhotra cheenamalhotra added this to the 6.0-preview2 milestone Oct 15, 2024
@benrr101 benrr101 merged commit ac1b3fb into dotnet:main Oct 24, 2024
124 checks passed
@benrr101 benrr101 deleted the common-dbconnectioninternal branch October 24, 2024 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants