ports/databases/mysql91-server/files/patch-sql_auth_sql__authorization.cc
Jochen Neumeister 1fbff9cbe8 databases/mysql91-{server|client}: add new Ports
Welcome MySQL 9.1

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

MySQL8.4+ supports only 64-bit platforms!

Sponsored by:	Netzkommune GmbH
Special thanks to:	samm
2025-01-09 19:44:37 +01: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;
}