Skip to content

Commit f0b16a1

Browse files
authored
Update AbstractSQLConfig.java
这里 Log.DEBUG == false 应该去掉,毕竟上线前要 Log.DEBUG = true 减少日志打印等,会导致上线后初始化加载 Access, Request 表记录仍然限制最大 Parser.getMaxQueryCount(默认 100)。 (摘自 Tencent#640
1 parent 046f34e commit f0b16a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ public int[] getDBVersionNums() {
883883

884884
@Override
885885
public boolean limitSQLCount() {
886-
return Log.DEBUG == false || AbstractVerifier.SYSTEM_ACCESS_MAP.containsKey(getTable()) == false;
886+
return AbstractVerifier.SYSTEM_ACCESS_MAP.containsKey(getTable()) == false;
887887
}
888888
@Override
889889
public boolean allowPartialUpdateFailed() {

0 commit comments

Comments
 (0)