ports/databases/mysql94-server/files/patch-sql_auth_sql__authorization.cc
Jochen Neumeister ef1428d2b5 databases/mysql94-{server|client}: add new Ports
Welcome MySQL 9.4

What is new in MySQL9.4:
https://dev.mysql.com/doc/relnotes/mysql/9.4/en/news-9-4-0.html

MySQL8.4+ supports only 64-bit platforms!

Sponsored by:	Netzkommune GmbH
2025-10-26 16:28:24 +01:00

14 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;
}