From 8cd874ec91f5b1194ca3b7d70e81c46c84b9cd01 Mon Sep 17 00:00:00 2001 From: morningman Date: Thu, 31 Oct 2024 14:38:36 +0800 Subject: [PATCH] 3 --- .../trees/plans/commands/call/CallFlushAuditLogFunc.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/call/CallFlushAuditLogFunc.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/call/CallFlushAuditLogFunc.java index a8c9f74f969e2dc..60cae55e7f53972 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/call/CallFlushAuditLogFunc.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/call/CallFlushAuditLogFunc.java @@ -34,6 +34,10 @@ public class CallFlushAuditLogFunc extends CallFunc { private UserIdentity user; + private CallFlushAuditLogFunc(UserIdentity user) { + this.user = user; + } + public static CallFunc create(UserIdentity user, List args) { if (!args.isEmpty()) { throw new AnalysisException("FLUSH_AUDIT_LOG function requires no parameter"); @@ -41,10 +45,6 @@ public static CallFunc create(UserIdentity user, List args) { return new CallFlushAuditLogFunc(user); } - private CallFlushAuditLogFunc(UserIdentity user) { - this.user = user; - } - @Override public void run() { // check priv