DarvenDuan commented on a change in pull request #8634:
URL: https://github.com/apache/incubator-doris/pull/8634#discussion_r835347509
##########
File path:
fe/fe-core/src/main/java/org/apache/doris/mysql/privilege/UserProperty.java
##########
@@ -274,6 +274,12 @@ public void update(List<Pair<String, String>> properties)
throws UserException {
if (keyArr.length != 1) {
throw new DdlException(PROP_SQL_BLOCK_RULES + " format
error");
}
+ // check if sql_block_rule has already exist
+ for (String rule_name : value.replaceAll(" ","").split(",")){
Review comment:
Ok, thanks for your suggestion, I will do it latter.
--
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]