blob: 7356f3ca739cabc8dba79dafed9092eba2b6ce42 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- sql/auth/sql_authorization.cc.orig 2024-08-08 10:30:27 UTC
+++ sql/auth/sql_authorization.cc
@@ -237,6 +237,10 @@ bool operator==(const Role_id &a, const std::string &b
return tmp == b;
}
+bool operator==(const Role_id &a, const LEX_CSTRING &b) {
+ return a == to_string(b);
+}
+
bool operator==(const std::pair<Role_id, bool> &a, const std::string &b) {
return a.first == b;
}
|