You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public void close() throws SQLException {
if (isClosed())
return;
...
Note: I was unable to tell whether the timeoutExecutor could be running while protocol.isClosed() is true. It might be worth trying to this.timeoutExecutor.shutdown(); in any case
The text was updated successfully, but these errors were encountered:
StephG38
added a commit
to StephG38/DrizzleJDBC
that referenced
this issue
Sep 30, 2014
According to jdbc spec: "Calling the method close on a Connection object that is already closed is a no-op."
http://docs.oracle.com/javase/7/docs/api/java/sql/Connection.html#close()
This simple code throws an error:
Proposed fix in DrizzleConnection:
Note: I was unable to tell whether the
timeoutExecutor
could be running whileprotocol.isClosed()
is true. It might be worth trying tothis.timeoutExecutor.shutdown();
in any caseThe text was updated successfully, but these errors were encountered: