From f0b16a1280bcc5e149abfdbc030e358a109cfe08 Mon Sep 17 00:00:00 2001 From: jia199807 <44639807+jia199807@users.noreply.github.com> Date: Sun, 18 Feb 2024 11:01:46 +0800 Subject: [PATCH] Update AbstractSQLConfig.java MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 这里 Log.DEBUG == false 应该去掉,毕竟上线前要 Log.DEBUG = true 减少日志打印等,会导致上线后初始化加载 Access, Request 表记录仍然限制最大 Parser.getMaxQueryCount(默认 100)。 (摘自 https://github.com/Tencent/APIJSON/issues/640) --- APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java b/APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java index f5ac342f..278b5e15 100755 --- a/APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java +++ b/APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java @@ -883,7 +883,7 @@ public int[] getDBVersionNums() { @Override public boolean limitSQLCount() { - return Log.DEBUG == false || AbstractVerifier.SYSTEM_ACCESS_MAP.containsKey(getTable()) == false; + return AbstractVerifier.SYSTEM_ACCESS_MAP.containsKey(getTable()) == false; } @Override public boolean allowPartialUpdateFailed() {