1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-15 08:19:13 -04:00
ports/databases/mysql90-server/files/patch-sql_auth_sql__authorization.cc
Jochen Neumeister 83d646c699 databases/mysql90-{server|client}: add new Ports
Welcome MySQL 8.4

What is new in MySQL8.4 since MySQL 9.0:
https://dev.mysql.com/doc/refman/9.0/en/mysql-nutshell.html

HINT: MySQL8.4+ supports only 64-bit platforms!!!

Sponsored by:	Netzkommune GmbH
2024-09-01 03:00:55 +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;
}