MySQL 9.6.0
Source Code Documentation
s_mysql_mysql_runtime_warning Struct Reference

This service defines the warning report function api. More...

#include <mysql_runtime_warning.h>

Public Attributes

void(* emit )(THD *thd, int error_id,...)
 It calls the server SQL warning generation function and adds the warning into the THD's error context. More...
 
void(* emit_v )(THD *thd, int error_id, va_list args)
 It calls the server SQL warning generation function and adds the warning into the THD's error context. More...
 

Detailed Description

This service defines the warning report function api.

This allows reporting warning into the connected session THD.

Member Data Documentation

◆ emit

void(* s_mysql_mysql_runtime_warning::emit) (THD *thd, int error_id,...)

It calls the server SQL warning generation function and adds the warning into the THD's error context.

Parameters
thdThd of a current session.
error_idmysql server error number, used to get the warning description.
argsvariable argument list which has the warning message details.

◆ emit_v

void(* s_mysql_mysql_runtime_warning::emit_v) (THD *thd, int error_id, va_list args)

It calls the server SQL warning generation function and adds the warning into the THD's error context.

Parameters
thdThd of a current session.
error_idmysql server error number, used to get the warning description.
argsvariable argument list which has the warning message details.

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