You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Yulei-Yang (via GitHub)" <gi...@apache.org> on 2023/03/09 09:49:28 UTC
[GitHub] [doris] Yulei-Yang commented on a diff in pull request #17612: [fix](priv) fix bug of grant priv on ctl.db.* not available
Yulei-Yang commented on code in PR #17612:
URL: https://github.com/apache/doris/pull/17612#discussion_r1130736402
##########
fe/fe-core/src/main/java/org/apache/doris/mysql/privilege/DbPrivTable.java:
##########
@@ -42,7 +45,8 @@ public void getPrivs(String ctl, String db, PrivBitSet savedPrivs) {
}
// check db
- if (!dbPrivEntry.isAnyDb() && !dbPrivEntry.getDbPattern().match(db)) {
+ if (!dbPrivEntry.isAnyDb() && !dbPrivEntry.getDbPattern().match(db) && !dbPrivEntry.getDbPattern()
Review Comment:
fixed
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org