pick: https://github.com/apache/doris/pull/38011
This commit is contained in:
@ -890,9 +890,8 @@ public class StmtExecutor {
|
||||
syncJournalIfNeeded();
|
||||
analyzer = new Analyzer(context.getEnv(), context);
|
||||
parsedStmt.analyze(analyzer);
|
||||
parsedStmt.checkPriv();
|
||||
}
|
||||
|
||||
parsedStmt.checkPriv();
|
||||
if (prepareStmt instanceof PrepareStmt && !isExecuteStmt) {
|
||||
handlePrepareStmt();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user