MySQL 8.0.39
Source Code Documentation
|
Ignore all errors notified from within plugin. More...
Public Member Functions | |
Ignore_event_error_handler (THD *thd, const char *event_name) | |
Construction. More... | |
bool | handle () override |
Ignore all errors. More... | |
void | print_warning (const char *warn_msg, uint sql_errno, const char *sqlstate, const char *msg) override |
Custom warning print routine. More... | |
Public Member Functions inherited from Audit_error_handler | |
Audit_error_handler (THD *thd, const char *warning_message, bool active=true) | |
Construction. More... | |
~Audit_error_handler () override | |
Destruction. More... | |
bool | handle_condition (THD *, uint sql_errno, const char *sqlstate, Sql_condition::enum_severity_level *, const char *msg) override |
Error handler. More... | |
int | get_result (int result) |
Convert the result value returned from the audit api. More... | |
Private Attributes | |
const char * | m_event_name |
Event name used in the warning message. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Internal_error_handler | |
Internal_error_handler () | |
Internal_error_handler * | prev_internal_handler () const |
virtual | ~Internal_error_handler ()=default |
Ignore all errors notified from within plugin.
|
inline |
Construction.
thd | Current thread data. |
event_name | Textual form of the audit event enum. |
|
inlineoverridevirtual |
Ignore all errors.
True | on error rejection, otherwise false. |
Implements Audit_error_handler.
|
inlineoverridevirtual |
Custom warning print routine.
Also prints the underlying error attributes if supplied.
warn_msg | Warning message to be printed. |
sql_errno | The error number of the underlying error |
sqlstate | The SQL state of the underlying error. NULL if none |
msg | The text of the underlying error. NULL if none |
Reimplemented from Audit_error_handler.
|
private |
Event name used in the warning message.