MySQL 8.0.39
Source Code Documentation
|
This internal handler implements downgrade from SL_ERROR to SL_WARNING for statements which support IGNORE. More...
#include <error_handler.h>
Public Member Functions | |
bool | handle_condition (THD *thd, uint sql_errno, const char *sqlstate, Sql_condition::enum_severity_level *level, const char *msg) override |
This handler is used for the statements which support IGNORE keyword. 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 |
This internal handler implements downgrade from SL_ERROR to SL_WARNING for statements which support IGNORE.
|
overridevirtual |
This handler is used for the statements which support IGNORE keyword.
If IGNORE is specified in the statement, this error handler converts the given errors codes to warnings. These errors occur for each record. With IGNORE, statements are not aborted and next row is processed.
Implements Internal_error_handler.