[fix](compile) Fix FE compile error (#22261)

Fix FE compile error
This commit is contained in:
AKIRA
2023-07-26 18:39:21 +08:00
committed by GitHub
parent 9e16c69925
commit fdb26a524a

View File

@ -121,7 +121,7 @@ public class StatisticsUtil {
}
public static List<ResultRow> execStatisticQuery(String sql) {
if (FeConstants.disableInternalSchemaDb) {
if (!FeConstants.enableInternalSchemaDb) {
return Collections.emptyList();
}
try (AutoCloseConnectContext r = StatisticsUtil.buildConnectContext()) {