From 6cd8fabf35fa8a82efd58d5533b8b08e451a23dd Mon Sep 17 00:00:00 2001 From: richie Date: Tue, 7 Jul 2020 15:13:36 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-34809=20=E5=8F=82=E6=95=B0=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=8A=A8=E6=80=81=E8=AE=A1=E7=AE=97=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin.xml | 3 ++- src/main/java/com/fr/plugin/db/redis/core/RedisTableData.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugin.xml b/plugin.xml index de905f9..bf35f01 100755 --- a/plugin.xml +++ b/plugin.xml @@ -3,12 +3,13 @@ com.fr.solution.plugin.db.redis.v10 yes - 7.3.5 + 7.3.6 10.0 2020-01-20 richie [2020-06-30]修复了一个失误导致连接被重复关闭的问题。
[2020-06-22]修改hkeys没能正确调用的问题。
[2020-06-09]修复redis连接没有正确关闭的问题。
diff --git a/src/main/java/com/fr/plugin/db/redis/core/RedisTableData.java b/src/main/java/com/fr/plugin/db/redis/core/RedisTableData.java index 606a2ef..2fd2881 100644 --- a/src/main/java/com/fr/plugin/db/redis/core/RedisTableData.java +++ b/src/main/java/com/fr/plugin/db/redis/core/RedisTableData.java @@ -77,7 +77,8 @@ public class RedisTableData extends BaseTableData { @Focus(id = RedisConstants.PLUGIN_ID, text = "Plugin-Redis_DB", source = Original.PLUGIN) public DataModel createDataModel(Calculator calculator, int rowCount) { long start = System.currentTimeMillis(); - ParameterProvider[] ps = getParameters(calculator); + ParameterProvider[] providers = getParameters(calculator); + ParameterProvider[] ps = Calculator.processParameters(calculator, providers); Connection connection = database.get(); String name = RedisUtils.getName(connection); if (StringKit.isNotEmpty(name)) {