mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Auth Plugin API: add THD to MYSQL_SERVER_AUTH_INFO
so that auth plugins could use various thd services
This commit is contained in:
@ -27,7 +27,7 @@
|
||||
|
||||
#include <mysql/plugin.h>
|
||||
|
||||
#define MYSQL_AUTHENTICATION_INTERFACE_VERSION 0x0200
|
||||
#define MYSQL_AUTHENTICATION_INTERFACE_VERSION 0x0201
|
||||
|
||||
#include <mysql/plugin_auth_common.h>
|
||||
|
||||
@ -105,6 +105,11 @@ typedef struct st_mysql_server_auth_info
|
||||
*/
|
||||
unsigned int host_or_ip_length;
|
||||
|
||||
/**
|
||||
Current THD pointer (to use with various services)
|
||||
*/
|
||||
MYSQL_THD thd;
|
||||
|
||||
} MYSQL_SERVER_AUTH_INFO;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user