morrySnow commented on code in PR #61440:
URL: https://github.com/apache/doris/pull/61440#discussion_r3393789173
##########
fe/fe-common/src/main/java/org/apache/doris/common/ErrorCode.java:
##########
@@ -1235,7 +1235,10 @@ public enum ErrorCode {
ERR_NO_CLUSTER_ERROR(5099, new byte[]{'4', '2', '0', '0', '0'}, "No
compute group (cloud cluster) selected"),
ERR_NOT_CLOUD_MODE(6000, new byte[]{'4', '2', '0', '0', '0'},
- "Command only support in cloud mode.");
+ "Command only support in cloud mode."),
+
+ ERR_EMPTY_PASSWORD(6001, new byte[]{'2', '8', '0', '0', '0'},
Review Comment:
https://dev.mysql.com/doc/mysql-errors/9.7/en/server-error-reference.html#error_er_ldap_empty_userdn_password
or
https://dev.mysql.com/doc/mysql-errors/9.7/en/server-error-reference.html#error_er_not_valid_password
is better for the new check.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]