![]() |
MySQL 26.10.0
Source Code Documentation
|
Header file for the Srv_session class that wraps THD, DA in one bundle for easy use of internal APIs. More...
#include <stdint.h>#include "lex_string.h"#include "my_command.h"#include "my_psi_config.h"#include "my_thread_local.h"#include "mysql/components/services/bits/psi_statement_bits.h"#include "mysql/service_command.h"#include "mysql/service_srv_session.h"#include "mysql/strings/m_ctype.h"#include "sql/protocol_callback.h"#include "sql/sql_class.h"#include "sql/sql_error.h"#include "violite.h"Go to the source code of this file.
Classes | |
| class | Srv_session |
| struct | Srv_session::st_err_protocol_ctx |
| class | Srv_session::Session_backup_and_attach |
Functions | |
| Srv_session * | srv_session_open_internal (srv_session_error_cb error_cb, void *plugin_ctx, bool ignore_max_connection_limit, bool allow_extra_connection=true) |
| Opens server session. More... | |
Variables | |
| PSI_statement_info | stmt_info_new_packet |
Header file for the Srv_session class that wraps THD, DA in one bundle for easy use of internal APIs.
Srv_session also provides means for physical thread initialization and respective deinitialization.
| Srv_session * srv_session_open_internal | ( | srv_session_error_cb | error_cb, |
| void * | plugin_ctx, | ||
| bool | ignore_max_connection_limit, | ||
| bool | allow_extra_connection | ||
| ) |
Opens server session.
| error_cb | Default completion callback |
| plugin_ctx | Plugin's context, opaque pointer that would be provided to callbacks. Might be NULL. |
| ignore_max_connection_limit | true if the session is exempted |
| allow_extra_connection | true to allow the reserved extra connection |
|
extern |