Skip to content

Commit ed8552b

Browse files
committed
Align TdsExecuteRPC between netcore and netfx
1 parent 4bc9ee6 commit ed8552b

File tree

2 files changed

+500
-468
lines changed
  • src/Microsoft.Data.SqlClient

2 files changed

+500
-468
lines changed

src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParser.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9394,7 +9394,8 @@ internal Task TdsExecuteRPC(SqlCommand cmd, IList<_SqlRPC> rpcArray, int timeout
93949394
if (
93959395
!(cmd.ColumnEncryptionSetting == SqlCommandColumnEncryptionSetting.Enabled
93969396
||
9397-
(cmd.ColumnEncryptionSetting == SqlCommandColumnEncryptionSetting.UseConnectionSetting && cmd.Connection.IsColumnEncryptionSettingEnabled)))
9397+
(cmd.ColumnEncryptionSetting == SqlCommandColumnEncryptionSetting.UseConnectionSetting && cmd.Connection.IsColumnEncryptionSettingEnabled))
9398+
)
93989399
{
93999400
throw SQL.ParamInvalidForceColumnEncryptionSetting(param.ParameterName, rpcext.GetCommandTextOrRpcName());
94009401
}

0 commit comments

Comments
 (0)