mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for exception sorter
This commit is contained in:
@@ -469,6 +469,12 @@ public class MockConnection extends ConnectionBase implements Connection {
|
||||
public int getNetworkTimeout() throws SQLException {
|
||||
throw new SQLFeatureNotSupportedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setReadOnly(boolean readOnly) throws SQLException {
|
||||
checkState();
|
||||
super.setReadOnly(readOnly);
|
||||
}
|
||||
|
||||
public void handleSleep() {
|
||||
if (getConnectProperties() != null) {
|
||||
|
||||
Reference in New Issue
Block a user