diff options
-rw-r--r-- | plugin/reuse_password_check/CMakeLists.txt | 2 | ||||
-rw-r--r-- | plugin/reuse_password_check/reuse_password_check.c | 16 |
2 files changed, 4 insertions, 14 deletions
diff --git a/plugin/reuse_password_check/CMakeLists.txt b/plugin/reuse_password_check/CMakeLists.txt index 6db1b510e06..e64f9ce4e15 100644 --- a/plugin/reuse_password_check/CMakeLists.txt +++ b/plugin/reuse_password_check/CMakeLists.txt @@ -1,4 +1,4 @@ ADD_DEFINITIONS(-DMYSQL_SERVER) -MYSQL_ADD_PLUGIN(reuse_password_check reuse_password_check.c MODULE_ONLY RECOMPILE_FOR_EMBEDDED) +MYSQL_ADD_PLUGIN(reuse_password_check reuse_password_check.c MODULE_ONLY) diff --git a/plugin/reuse_password_check/reuse_password_check.c b/plugin/reuse_password_check/reuse_password_check.c index 84dc94f0899..3fb6f7328aa 100644 --- a/plugin/reuse_password_check/reuse_password_check.c +++ b/plugin/reuse_password_check/reuse_password_check.c @@ -13,24 +13,14 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */ -#include <mysqld_error.h> -#include <my_attribute.h> -#include <mysql/plugin_password_validation.h> - - #include <my_config.h> -//#include <assert.h> #include <my_global.h> #include <my_base.h> -//#include <typelib.h> -//#include <ctype.h> -//#include <string.h> -//#include <mysql/plugin.h> -//#include <mysql/plugin_audit.h> - +#include <mysql/plugin_password_validation.h> #include <mysql.h> -#include <mysql_com.h> + +#include <mysqld_error.h> #include <mysql/service_sha2.h> #define HISTORY_DB_NAME "reuse_password_check_history" |