mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
@@ -456,7 +456,7 @@ public abstract class LogFilter extends FilterEventAdapter implements LogFilterM
|
||||
super.connection_commit(chain, connection);
|
||||
|
||||
if (connectionCommitAfterLogEnable && isConnectionLogEnabled()) {
|
||||
connectionLog("{conn-" + connection.getId() + "} commited");
|
||||
connectionLog("{conn-" + connection.getId() + "} committed");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -294,7 +294,7 @@ public class HighAvailableDataSource extends WrapperAdapter implements DataSourc
|
||||
|
||||
private void createNodeMap() {
|
||||
if (nodeListener == null) {
|
||||
// Compatiable with the old version.
|
||||
// Compatible with the old version.
|
||||
// Create a FileNodeListener to watch the dataSourceFile.
|
||||
FileNodeListener listener = new FileNodeListener();
|
||||
listener.setFile(dataSourceFile);
|
||||
|
||||
+2
-2
@@ -26,7 +26,7 @@ public class MySqlExceptionSorterTest_1 extends PoolTestCase {
|
||||
}
|
||||
|
||||
SQLException rootException = new SQLException(
|
||||
new SQLException("Could not retrieve transation read-only status server",
|
||||
new SQLException("Could not retrieve transition read-only status server",
|
||||
(Exception) constructor.newInstance(null, 0, 0, null)
|
||||
)
|
||||
);
|
||||
@@ -42,7 +42,7 @@ public class MySqlExceptionSorterTest_1 extends PoolTestCase {
|
||||
}
|
||||
|
||||
SQLException rootException = new SQLException(
|
||||
new SQLException("Could not retrieve transation read-only status server",
|
||||
new SQLException("Could not retrieve transition read-only status server",
|
||||
(Exception) constructor.newInstance(null, null)
|
||||
)
|
||||
);
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ public class MySqlExceptionSorterTest_2 extends PoolTestCase {
|
||||
MySqlExceptionSorter sorter = new MySqlExceptionSorter();
|
||||
|
||||
SQLException rootException = new SQLException(
|
||||
new SQLException("Could not retrieve transation read-only status server",
|
||||
new SQLException("Could not retrieve transition read-only status server",
|
||||
new SocketTimeoutException()
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user