![]()  | 
  
    MySQL 8.4.7
    
   Source Code Documentation 
   | 
 
Some trace events have additional arguments. More...
#include <plugin_trace.h>
Public Attributes | |
| const char * | plugin_name | 
| int | cmd | 
| const unsigned char * | hdr | 
| size_t | hdr_len | 
| const unsigned char * | pkt | 
| size_t | pkt_len | 
Some trace events have additional arguments.
These are stored in st_trace_event_args structure. Various events store their arguments in the structure as follows. Unused members are set to 0/NULL.
AUTH_PLUGIN
plugin_name the name of the plugin
SEND_COMMAND
cmd the command code hdr pointer to command packet header hdr_len length of the header pkt pointer to command arguments pkt_len length of arguments
Other SEND_* and *_RECEIVED events
pkt the data sent or received pkt_len length of the data
PACKET_SENT
pkt_len number of bytes sent
| int st_trace_event_args::cmd | 
| const unsigned char* st_trace_event_args::hdr | 
| size_t st_trace_event_args::hdr_len | 
| const unsigned char* st_trace_event_args::pkt | 
| size_t st_trace_event_args::pkt_len | 
| const char* st_trace_event_args::plugin_name |