Skip to content

Commit

Permalink
Merge pull request #310 from v-ahibr/random_TDS_error_fix
Browse files Browse the repository at this point in the history
Fix for random TDS invalid error
  • Loading branch information
Suraiya Hameed authored May 23, 2017
2 parents 368b662 + 2309552 commit 2bad1fb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/com/microsoft/sqlserver/jdbc/IOBuffer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2bad1fb

Please sign in to comment.