Skip to content

Commit

Permalink
[fix](auth) fix create mv not need alter priv of table (apache#38011)
Browse files Browse the repository at this point in the history
case will add in another pr
  • Loading branch information
zddr committed Jul 26, 2024
1 parent ee65195 commit cb4e87a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -889,9 +889,8 @@ public void executeByLegacy(TUniqueId queryId) throws Exception {
syncJournalIfNeeded();
analyzer = new Analyzer(context.getEnv(), context);
parsedStmt.analyze(analyzer);
parsedStmt.checkPriv();
}

parsedStmt.checkPriv();
if (prepareStmt instanceof PrepareStmt && !isExecuteStmt) {
handlePrepareStmt();
return;
Expand Down

0 comments on commit cb4e87a

Please sign in to comment.