diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2023-10-14 13:55:03 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2023-10-16 06:27:53 +0000 |
commit | 1c1158a5200990584a0ec761e3869963ead26adc (patch) | |
tree | fc796849eac24125a52d7f955c0ccbb4f40eb413 /databases/mysql80-server | |
parent | 4ef2f5213a40165b462be7192bc95f9c5efa5c4f (diff) | |
download | ports-1c1158a5200990584a0ec761e3869963ead26adc.tar.gz ports-1c1158a5200990584a0ec761e3869963ead26adc.zip |
Diffstat (limited to 'databases/mysql80-server')
-rw-r--r-- | databases/mysql80-server/files/patch-sql_auth_sql__authorization.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/mysql80-server/files/patch-sql_auth_sql__authorization.cc b/databases/mysql80-server/files/patch-sql_auth_sql__authorization.cc new file mode 100644 index 000000000000..4d35279882d5 --- /dev/null +++ b/databases/mysql80-server/files/patch-sql_auth_sql__authorization.cc @@ -0,0 +1,13 @@ +--- sql/auth/sql_authorization.cc.orig 2023-03-16 17:22:37 UTC ++++ sql/auth/sql_authorization.cc +@@ -7430,6 +7430,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; + } |