This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new a411cf8b4ae [fix](auth) fix create mv not need alter priv of table
(#38011) (#38424)
a411cf8b4ae is described below
commit a411cf8b4ae9e95d2b254dcd933d0d0916ef81ca
Author: zhangdong <[email protected]>
AuthorDate: Wed Jul 31 22:00:21 2024 +0800
[fix](auth) fix create mv not need alter priv of table (#38011) (#38424)
pick from master #38011
---
fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
b/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
index 19dc2bd0129..59475658783 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
@@ -783,9 +783,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;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]