1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Don't include my_global.h in "pure" plugins

this partially reverts 6e56ebbb498
This commit is contained in:
Sergei Golubchik
2017-08-11 13:58:32 +02:00
parent a6e215f221
commit 828602356c
10 changed files with 35 additions and 36 deletions

View File

@ -31,10 +31,18 @@
GSSAPI authentication plugin, server side
*/
#include <my_global.h>
#include <my_sys.h>
#ifdef _WIN32
typedef unsigned __int64 my_ulonglong;
#else
typedef unsigned long long my_ulonglong;
#endif
#include <stdlib.h>
#include <mysqld_error.h>
#include <typelib.h>
#include <mysql/plugin_auth.h>
#include "string.h"
#include "server_plugin.h"
#include "common.h"
@ -133,7 +141,7 @@ static const char* mech_names[] = {
NULL
};
static TYPELIB mech_name_typelib = {
array_elements(mech_names) - 1,
3,
"mech_name_typelib",
mech_names,
NULL