forked from Lainports/freebsd-ports
Approved by: portmgr (blanket) Obtained from: https://cgit.freebsd.org/ports/commit/?id=1c1158a5200990584a0ec761e3869963ead26adc
13 lines
396 B
C++
13 lines
396 B
C++
--- sql/auth/sql_authorization.cc.orig 2023-10-19 12:05:28 UTC
|
|
+++ sql/auth/sql_authorization.cc
|
|
@@ -7437,6 +7437,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;
|
|
}
|