opnsense-ports/databases/mysql84-server/files/patch-sql_auth_sql__authorization.cc
Franco Fichtner d79bfdcc37 */*: sync with upstream
Taken from: FreeBSD
2024-05-27 17:48:48 +02:00

13 lines
394 B
C++

--- sql/auth/sql_authorization.cc.orig 2024-04-10 06:26:28 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;
}