aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql84-server/files/patch-plugin_password__validation_validate__password.cc
blob: 9c5129e24b2daa1708b703b9557a4632eafd8370 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- plugin/password_validation/validate_password.cc.orig	2024-04-10 06:26:28 UTC
+++ plugin/password_validation/validate_password.cc
@@ -26,6 +26,8 @@
 #include <mysql/plugin_validate_password.h>
 #include <mysql/service_my_plugin_log.h>
 #include <mysql/service_mysql_string.h>
+/* solve clash between libc++ bitset::test() and test macro from my_global.h */
+#undef test
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>