MySQL 8.0.39
Source Code Documentation
|
A service to create an "admin" session that's not a subject to max connection count limits. More...
#include <mysql_admin_session.h>
Public Attributes | |
MYSQL_SESSION(* | open )(srv_session_error_cb error_cb, void *ctx) |
Creates a new session without checking the max_connection limits. More... | |
A service to create an "admin" session that's not a subject to max connection count limits.
This service is an extension to the sessions plugin service suite. The MYSQL_SESSION references are compatible with the plugin service.
MYSQL_SESSION(* s_mysql_mysql_admin_session::open) (srv_session_error_cb error_cb, void *ctx) |
Creates a new session without checking the max_connection limits.
The function is the same as srv_session_open plugin service API, but in addition to it it also marks the newly created MYSQL_SESSION as "immune" to max_connections count check. The MYSQL_SESSION created through this function can be operated as any other MYSQL_SESSION via the srv_session_* functions from the srv_session_service_st set.
error_cb | the function to call on error |
ctx | the context to pass to error_cb |