This is an automated email from the ASF dual-hosted git repository.

panxiaolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new fdb26a524a [fix](compile) Fix FE compile error (#22261)
fdb26a524a is described below

commit fdb26a524a30e28d196d66c00e12ae9fef2ae52c
Author: AKIRA <[email protected]>
AuthorDate: Wed Jul 26 18:39:21 2023 +0800

    [fix](compile) Fix FE compile error (#22261)
    
    Fix FE compile error
---
 .../src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java 
b/fe/fe-core/src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java
index 046576c5a8..e7c40a9ce4 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java
@@ -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()) 
{


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to