dotnet / SqlClient

Microsoft.Data.SqlClient provides database connectivity to SQL Server for .NET applications.
MIT License
857 stars 286 forks source link

[5.2.2] | Fix ArgumentNullException on SqlDataRecord.GetValue when using Udt data type #2816

Closed dauinsight closed 2 months ago

dauinsight commented 2 months ago

Backports: https://github.com/dotnet/SqlClient/pull/2448

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 72.75%. Comparing base (da57fa9) to head (1811672). Report is 2 commits behind head on release/5.2.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release/5.2 #2816 +/- ## =============================================== + Coverage 72.59% 72.75% +0.15% =============================================== Files 310 310 Lines 61930 61926 -4 =============================================== + Hits 44958 45053 +95 + Misses 16972 16873 -99 ``` | [Flag](https://app.codecov.io/gh/dotnet/SqlClient/pull/2816/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | Coverage Δ | | |---|---|---| | [addons](https://app.codecov.io/gh/dotnet/SqlClient/pull/2816/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `92.88% <ø> (ø)` | | | [netcore](https://app.codecov.io/gh/dotnet/SqlClient/pull/2816/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `77.04% <ø> (+0.26%)` | :arrow_up: | | [netfx](https://app.codecov.io/gh/dotnet/SqlClient/pull/2816/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `70.34% <ø> (+0.15%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.