MySQL 8.0.40
Source Code Documentation
mysql_command_service_extn Struct Reference

This structure is used by mysql command service. More...

#include <mysql_command_services_imp.h>

Public Attributes

MYSQL_SESSION session_svc
 
bool is_thd_associated
 
MYSQL_DATAdata = nullptr
 
void * command_consumer_services = nullptr
 
SRV_CTX_Hconsumer_srv_data = nullptr
 
MYSQL_THD mcs_thd = nullptr
 
const char * mcs_protocol = nullptr
 
const char * mcs_user_name = nullptr
 
const char * mcs_host_name = nullptr
 
const char * mcs_password = nullptr
 
int mcs_tcpip_port
 
const char * mcs_db = nullptr
 
uint32_t mcs_client_flag = 0
 

Detailed Description

This structure is used by mysql command service.

session_svc and is_thd_associated is set in cssm_begin_connect() command_consumer_services is set by mysql_service_mysql_command_options::set() api, if it is nullptr then the default mysql_test_consumer services will be set. data is allocated in mysql_text_consumer_factory_v1 service start() api, and this data is retrived by csi_read_rows(). This information is used by mysql_text_consumer service apis. mcs_thd, mcs_protocol, mcs_user_name, mcs_password, mcs_tcpip_port, mcs_db and mcs_client_flag will be set by mysql_service_mysql_command_options set() api.

Member Data Documentation

◆ command_consumer_services

void* mysql_command_service_extn::command_consumer_services = nullptr

◆ consumer_srv_data

SRV_CTX_H* mysql_command_service_extn::consumer_srv_data = nullptr

◆ data

MYSQL_DATA* mysql_command_service_extn::data = nullptr

◆ is_thd_associated

bool mysql_command_service_extn::is_thd_associated

◆ mcs_client_flag

uint32_t mysql_command_service_extn::mcs_client_flag = 0

◆ mcs_db

const char* mysql_command_service_extn::mcs_db = nullptr

◆ mcs_host_name

const char* mysql_command_service_extn::mcs_host_name = nullptr

◆ mcs_password

const char* mysql_command_service_extn::mcs_password = nullptr

◆ mcs_protocol

const char* mysql_command_service_extn::mcs_protocol = nullptr

◆ mcs_tcpip_port

int mysql_command_service_extn::mcs_tcpip_port

◆ mcs_thd

MYSQL_THD mysql_command_service_extn::mcs_thd = nullptr

◆ mcs_user_name

const char* mysql_command_service_extn::mcs_user_name = nullptr

◆ session_svc

MYSQL_SESSION mysql_command_service_extn::session_svc

The documentation for this struct was generated from the following file: