freebsd-ports/databases/xtrabackup84/files/patch-sql_auth_sql__authorization.cc
Oleksii Samorukov 1f28cb4002 databases/xtrabackup84: new port to backup MySQL 8.4 database
Based on xtrabackup83 port, with corresponding changes, including:

- usage of bundled boost
- disable build on 32bit platforms (unsupported by vendor)
- new patches from mysql-server84.
2024-09-04 18:10:40 +02:00

13 lines
396 B
C++

--- sql/auth/sql_authorization.cc.orig 2023-10-19 12:05:28 UTC
+++ sql/auth/sql_authorization.cc
@@ -7437,6 +7437,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;
}