Files
ports/databases/mysql97-server/files/patch-sql_auth_sql__authorization.cc
T
Jochen Neumeister ee6bdb9a92 databases/mysql97-{server|client}: add new Ports
Welcome MySQL 9.7 - the LTS Version from MySQL 9

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

Sponsored by:	Netzkommune GmbH
2026-05-03 21:07:44 +02: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;
}