MySQL  8.0.19
Source Code Documentation
s_mysql_mysql_runtime_error Struct Reference

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

#include <mysql_runtime_error.h>

Public Attributes

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

Detailed Description

This service defines the error report function api.

Member Data Documentation

◆ emit

void(* s_mysql_mysql_runtime_error::emit) (int error_id, int flags, va_list args)

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

Parameters
error_idmysql server error number, used to get the error discription.
flagsthis will tell, whether the error is a fatal statement error or write the error to error log file.
argsvariable argument list which has the error message details.

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