MySQL  8.0.17
Source Code Documentation
mysql_server_runtime_error_imp Class Reference

#include <mysql_runtime_error_imp.h>

Static Public Member Functions

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

Member Function Documentation

◆ emit()

void mysql_server_runtime_error_imp::emit ( int  id,
int  flags,
va_list  args 
)
staticnoexcept

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

This is the override implementation for emit api to call the mysql server error report functions.

Parameters
iderror id is used to retrive the error description.
flagsthis will tell, whether the error is a fatal statement error or write the error to error log file.
argsvariable list which holds error message format string
iderror ID, used to fetch the error message.
flagsthis will tell, whether the error is a fatal statement error or write the error to error log file.
argsva_list type, which hold the error message format string.

The documentation for this class was generated from the following files: