MySQL 8.0.39
Source Code Documentation
st_trace_event_args Struct Reference

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
 

Detailed Description

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


Member Data Documentation

◆ cmd

int st_trace_event_args::cmd

◆ hdr

const unsigned char* st_trace_event_args::hdr

◆ hdr_len

size_t st_trace_event_args::hdr_len

◆ pkt

const unsigned char* st_trace_event_args::pkt

◆ pkt_len

size_t st_trace_event_args::pkt_len

◆ plugin_name

const char* st_trace_event_args::plugin_name

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