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 common code base for SqlUtil.cs #2503

Closed
wants to merge 1 commit into from

Conversation

arellegue
Copy link
Contributor

Addresses SqlUtil.cs for #1261

Copy link

codecov bot commented May 16, 2024

Codecov Report

Attention: Patch coverage is 87.82609% with 28 lines in your changes are missing coverage. Please review.

Project coverage is 72.97%. Comparing base (9a71c94) to head (70116d7).
Report is 2 commits behind head on main.

Current head 70116d7 differs from pull request most recent head 6c8cfa9

Please upload reports for the commit 6c8cfa9 to get more accurate results.

Files Patch % Lines
...ata.SqlClient/src/Microsoft/Data/Common/SqlUtil.cs 87.55% 26 Missing ⚠️
...netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs 50.00% 1 Missing ⚠️
...t/src/Microsoft/Data/SqlClient/SqlClientFactory.cs 94.73% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2503      +/-   ##
==========================================
+ Coverage   72.72%   72.97%   +0.24%     
==========================================
  Files         313      310       -3     
  Lines       61718    61062     -656     
==========================================
- Hits        44886    44560     -326     
+ Misses      16832    16502     -330     
Flag Coverage Δ
addons 92.88% <ø> (ø)
netcore 77.10% <89.15%> (+0.06%) ⬆️
netfx 70.44% <87.55%> (+0.01%) ⬆️

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.

@@ -550,7 +553,7 @@
</Compile>
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\SqlUtil.cs">
<Link>Microsoft\Data\SqlClient\SqlUtil.cs</Link>
</Compile>
</Compile>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
</Compile>
</Compile>

@@ -581,7 +584,7 @@
</Compile>
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\SqlUtil.cs">
<Link>Microsoft\Data\SqlClient\SqlUtil.cs</Link>
</Compile>
</Compile>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
</Compile>
</Compile>

internal static Exception SynchronousCallMayNotPend()
{
return new Exception(StringsHelper.GetString(Strings.Sql_InternalError));
}

#if NETCOREAPP
Copy link
Contributor

Choose a reason for hiding this comment

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

Recent PR #2486 streamlined compilation symbols. You should pull from main and then update this.

Suggested change
#if NETCOREAPP
#if NET6_0_OR_GREATER

@DavoudEshtehari DavoudEshtehari added the ➕ Code Health Issues/PRs that are targeted to source code quality improvements. label May 16, 2024
@DavoudEshtehari DavoudEshtehari added this to the 6.0-preview1 milestone May 16, 2024
@DavoudEshtehari DavoudEshtehari changed the title Merge common code base for SqlUtil.cs. Merge common code base for SqlUtil.cs May 16, 2024
@arellegue arellegue closed this May 21, 2024
@arellegue arellegue deleted the MergeSqlUtil branch May 21, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
➕ Code Health Issues/PRs that are targeted to source code quality improvements.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants