Merge pull request #424 from lcybo/master

1.0.23里面修复的KILL DUMP exception问题在(#334)里面被覆盖回去了
This commit is contained in:
agapple
2017-12-03 21:36:33 -06:00
committed by GitHub

View File

@@ -101,7 +101,8 @@ public class MysqlConnector {
MysqlUpdateExecutor executor = new MysqlUpdateExecutor(connector);
executor.update("KILL CONNECTION " + connectionId);
} catch (Exception e) {
throw new IOException("KILL DUMP " + connectionId + " failure", e);
// 忽略具体异常
logger.info("KILL DUMP " + connectionId + " failure", e);
} finally {
if (connector != null) {
connector.disconnect();