Skip to content

Conversation

@apoorvdeshmukh
Copy link
Contributor

@apoorvdeshmukh apoorvdeshmukh commented Dec 18, 2025

This reverts commit c23fed6.
The test will be fixed through another PR that brings back the fix and testcase for #3716.

Issues

AB#41152

Guidelines

Please review the contribution guidelines before submitting a pull request:

@apoorvdeshmukh apoorvdeshmukh requested a review from a team as a code owner December 18, 2025 06:16
Copilot AI review requested due to automatic review settings December 18, 2025 06:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reverts commit c23fed6, which previously fixed a NullReferenceException issue with SqlDataAdapter. The revert is associated with issue AB#41152.

Key changes:

  • Removes null check for systemParams in encryption metadata fetching logic
  • Deletes the entire SqlDataAdapterBatchUpdateTests test file
  • Removes test file reference from the project file

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
SqlCommand.Encryption.cs Reverts null check for systemParams before accessing its Length property in batch RPC encryption metadata handling
SqlDataAdapterBatchUpdateTests.cs Completely removes test file that validated batch update scenarios with Always Encrypted
Microsoft.Data.SqlClient.ManualTesting.Tests.csproj Removes conditional compilation entry for the deleted test file

@apoorvdeshmukh apoorvdeshmukh merged commit 07f524c into main Dec 18, 2025
256 checks passed
@apoorvdeshmukh apoorvdeshmukh deleted the dev/ad/fix-enclave-errors branch December 18, 2025 17:48
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