Skip to content

Commit af79e6b

Browse files
committed
Port TryReadByteArray usage from netcore to netfx
See line 6778 of change to netcore TdsParser in dotnet#3605
1 parent e2d846b commit af79e6b

File tree

1 file changed

+1
-1
lines changed
  • src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7076,7 +7076,7 @@ internal TdsOperationStatus TryReadSqlValueInternal(SqlBuffer value, byte tdsTyp
70767076
// Note: Better not come here with plp data!!
70777077
Debug.Assert(length <= TdsEnums.MAXSIZE);
70787078
byte[] b = new byte[length];
7079-
result = stateObj.TryReadByteArray(b, length);
7079+
result = stateObj.TryReadByteArrayWithContinue(length, isPlp: false, out b);
70807080
if (result != TdsOperationStatus.Done)
70817081
{
70827082
return result;

0 commit comments

Comments
 (0)