From 2309552ae93e723208657ffb2f9701641909d9ad Mon Sep 17 00:00:00 2001 From: v-ahibr Date: Tue, 23 May 2017 12:48:37 -0700 Subject: [PATCH] Fix for random TDS invalid error --- src/main/java/com/microsoft/sqlserver/jdbc/IOBuffer.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/com/microsoft/sqlserver/jdbc/IOBuffer.java b/src/main/java/com/microsoft/sqlserver/jdbc/IOBuffer.java index 217d5f7d4..fa7b2390a 100644 --- a/src/main/java/com/microsoft/sqlserver/jdbc/IOBuffer.java +++ b/src/main/java/com/microsoft/sqlserver/jdbc/IOBuffer.java @@ -6442,9 +6442,6 @@ final short peekStatusFlag() throws SQLServerException { return value; } - // as per TDS protocol, TDS_DONE packet should always be followed by status flag - // throw exception if status packet is not available - throwInvalidTDS(); return 0; }