Skip to content

Commit

Permalink
Change to return false
Browse files Browse the repository at this point in the history
  • Loading branch information
cheenamalhotra committed Mar 5, 2019
1 parent dceb6dd commit f5fd4be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5586,7 +5586,7 @@ public boolean isValid(int timeout) throws SQLException {
// The connection is considered to be invalid if the statement fails to close,
// even though query execution succeeded.
connectionlogger.fine(toString() + " Exception checking connection validity: " + e.getMessage());
isValid = false;
return false;
}

loggerExternal.exiting(getClassNameLogging(), "isValid", isValid);
Expand Down

0 comments on commit f5fd4be

Please sign in to comment.