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

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new bc28b7eb4f [fix](error-code) prompt error when MySQL client login 
password is incorrect #11973
bc28b7eb4f is described below

commit bc28b7eb4f42ecdc401eaa00dcba33362d0736bb
Author: catpineapple <[email protected]>
AuthorDate: Tue Aug 23 09:11:09 2022 +0800

    [fix](error-code) prompt error when MySQL client login password is 
incorrect #11973
---
 fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java 
b/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java
index f4ed960037..ff39462ef3 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java
@@ -56,7 +56,7 @@ public class MysqlProto {
         List<UserIdentity> currentUserIdentity = Lists.newArrayList();
         if (!Env.getCurrentEnv().getAuth().checkPassword(qualifiedUser, 
remoteIp,
                 scramble, randomString, currentUserIdentity)) {
-            ErrorReport.report(ErrorCode.ERR_ACCESS_DENIED_ERROR, 
qualifiedUser, context.getRemoteIP(), usePasswd);
+            ErrorReport.report(ErrorCode.ERR_ACCESS_DENIED_ERROR, 
qualifiedUser, usePasswd);
             return false;
         }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to