Skip to content

Commit

Permalink
Fix to ignore EOF rc.
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldevman committed Dec 11, 2006
1 parent 3c4baf2 commit 966b8c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jdbc40/com/ibm/as400/access/AS400JDBCStatement.java
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ else if(resultSetHoldability_ == AS400JDBCResultSet.HOLD_CURSORS_OVER_COMMIT)
{
lastBlock = true;
returnCode = sqlca.getSQLCode(); //@pda (issue 32120) get rc from SQLCA
if(returnCode == 0) //@pda (issue 32120)
if(returnCode == 0 || returnCode == 100) //@pda (issue 32120)
bypassExceptionWarning = true; //@pda (issue 32120)
}
else if((errorClass == 2) && (returnCode == 700)
Expand Down
2 changes: 1 addition & 1 deletion src/com/ibm/as400/access/AS400JDBCStatement.java
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ else if(resultSetHoldability_ == AS400JDBCResultSet.HOLD_CURSORS_OVER_COMMIT)
{
lastBlock = true;
returnCode = sqlca.getSQLCode(); //@pda (issue 32120) get rc from SQLCA
if(returnCode == 0) //@pda (issue 32120)
if(returnCode == 0 || returnCode == 100) //@pda (issue 32120)
bypassExceptionWarning = true; //@pda (issue 32120)
}
else if((errorClass == 2) && (returnCode == 700)
Expand Down

0 comments on commit 966b8c6

Please sign in to comment.