Skip to content

Commit 5c73ac7

Browse files
Wraith2Wraith2
authored andcommitted
remove empty statement block
1 parent e6e7b46 commit 5c73ac7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2280,11 +2280,7 @@ internal TdsOperationStatus TryReadPlpBytes(ref byte[] buff, int offset, int len
22802280
else if (canContinue && result == TdsOperationStatus.NeedMoreData)
22812281
{
22822282
SetSnapshotStorage(buff);
2283-
if (writeDataSizeToSnapshot)
2284-
{
2285-
// data bytes read from the current packet must be 0 here so do not save the snapshot data size
2286-
//SetSnapshotDataSize(bytesRead);
2287-
}
2283+
// data bytes read from the current packet must be 0 here so do not save the snapshot data size
22882284
}
22892285
return result;
22902286
}

0 commit comments

Comments
 (0)