![]() |
MySQL 9.6.0
Source Code Documentation
|
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... | |
This service defines the warning report function api.
This allows reporting warning into the connected session THD.
| 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.
| thd | Thd of a current session. |
| error_id | mysql server error number, used to get the warning description. |
| args | variable argument list which has the warning message details. |
| 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.
| thd | Thd of a current session. |
| error_id | mysql server error number, used to get the warning description. |
| args | variable argument list which has the warning message details. |