Skip to content

Commit

Permalink
3
Browse files Browse the repository at this point in the history
  • Loading branch information
morningman committed Oct 31, 2024
1 parent 953c605 commit 8cd874e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ public class CallFlushAuditLogFunc extends CallFunc {

private UserIdentity user;

private CallFlushAuditLogFunc(UserIdentity user) {
this.user = user;
}

public static CallFunc create(UserIdentity user, List<Expression> args) {
if (!args.isEmpty()) {
throw new AnalysisException("FLUSH_AUDIT_LOG function requires no parameter");
}
return new CallFlushAuditLogFunc(user);
}

private CallFlushAuditLogFunc(UserIdentity user) {
this.user = user;
}

@Override
public void run() {
// check priv
Expand Down

0 comments on commit 8cd874e

Please sign in to comment.