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:
@ -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
|
||||
|
Reference in New Issue
Block a user