1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-17 18:50:33 -04:00
ports/databases/mysql80-server/files/patch-sql_auth_sql__authorization.cc
Oleksii Samorukov 25218e3b20 databases/mysql80-server: Update to 8.0.39
- fixes multiple CVEs
- fixed startup error with large table set

PR: 280455
2024-07-31 10:07:34 +02:00

13 lines
396 B
C++

--- sql/auth/sql_authorization.cc.orig 2024-07-12 19:15:25 UTC
+++ sql/auth/sql_authorization.cc
@@ -7445,6 +7445,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;
}