This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 838af130015 [fix](auth)ldap set passwd need forward to master (#36436) 
(#36598)
838af130015 is described below

commit 838af13001574407ff08e1a78e556ceeae41090f
Author: zhangdong <493738...@qq.com>
AuthorDate: Thu Jun 20 18:35:37 2024 +0800

    [fix](auth)ldap set passwd need forward to master (#36436) (#36598)
    
    pick from master: #36436
---
 fe/fe-core/src/main/java/org/apache/doris/analysis/SetStmt.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/SetStmt.java 
b/fe/fe-core/src/main/java/org/apache/doris/analysis/SetStmt.java
index 5e0d0f9105c..3c6d938026f 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/analysis/SetStmt.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/SetStmt.java
@@ -91,7 +91,7 @@ public class SetStmt extends StatementBase {
     public RedirectStatus getRedirectStatus() {
         if (setVars != null) {
             for (SetVar var : setVars) {
-                if (var instanceof SetPassVar) {
+                if (var instanceof SetPassVar || var instanceof 
SetLdapPassVar) {
                     return RedirectStatus.FORWARD_WITH_SYNC;
                 } else if (var.getType() == SetType.GLOBAL) {
                     return RedirectStatus.FORWARD_WITH_SYNC;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to