Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2356,9 +2356,10 @@ internal TdsOperationStatus TryReadPlpBytes(ref byte[] buff, int offset, int len
{
// if there is a snapshot which it contains a stored plp buffer take it
// and try to use it if it is the right length
buff = TryTakeSnapshotStorage() as byte[];
if (buff != null)
byte[] existingBuff = TryTakeSnapshotStorage() as byte[];
if (existingBuff != null)
{
buff = existingBuff;
totalBytesRead = _snapshot.GetPacketDataOffset();
}
}
Expand Down
Loading