From 7fb8fd82bcd311504c6e697d6a3ec02a571a15f0 Mon Sep 17 00:00:00 2001 From: Zed Date: Mon, 2 Mar 2020 11:10:41 +0800 Subject: [PATCH] =?UTF-8?q?DEC-12256=20=E3=80=90=E5=86=92=E7=83=9F?= =?UTF-8?q?=E3=80=91=E5=85=A8=E6=96=B0=E5=B7=A5=E7=A8=8B=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/third/alibaba/druid/pool/DruidDataSource.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fine-druid/src/com/fr/third/alibaba/druid/pool/DruidDataSource.java b/fine-druid/src/com/fr/third/alibaba/druid/pool/DruidDataSource.java index ef1481c9d..301f2391f 100644 --- a/fine-druid/src/com/fr/third/alibaba/druid/pool/DruidDataSource.java +++ b/fine-druid/src/com/fr/third/alibaba/druid/pool/DruidDataSource.java @@ -953,21 +953,21 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat return; } - String errorMessage = ""; + String infoMessage = ""; if (isTestOnBorrow()) { - errorMessage += "testOnBorrow is true, "; + infoMessage += "testOnBorrow is true, "; } if (isTestOnReturn()) { - errorMessage += "testOnReturn is true, "; + infoMessage += "testOnReturn is true, "; } if (isTestWhileIdle()) { - errorMessage += "testWhileIdle is true, "; + infoMessage += "testWhileIdle is true, "; } - LOG.error(errorMessage + "validationQuery not set"); + LOG.error(infoMessage + "validationQuery not set"); } protected void initCheck() throws SQLException {