Skip to content

Commit 2962c57

Browse files
committed
Revert a merge error
1 parent 8e01f6a commit 2962c57

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -4022,7 +4022,7 @@ private bool TryProcessLoginAck(TdsParserStateObject stateObj, out SqlLoginAck s
40224022
return false;
40234023
}
40244024

4025-
byte[] b = new byte[TdsEnums.VERSION_SIZE];
4025+
Span<byte> b = stackalloc byte[TdsEnums.VERSION_SIZE];
40264026
if (!stateObj.TryReadByteArray(b, b.Length))
40274027
{
40284028
return false;

0 commit comments

Comments
 (0)