My Project
|
Public Member Functions | |
virtual bool | handle_condition (THD *thd, uint sql_errno, const char *sqlstate, Sql_condition::enum_warning_level level, const char *message, Sql_condition **cond_hdl) |
LEX_STRING * | get_trigger_name () |
char * | get_error_message () |
An error handler that catches all non-OOM errors which can occur during parsing of trigger body. Such errors are ignored and corresponding error message is used to construct a more verbose error message which contains name of problematic trigger. This error message is later emitted when one tries to perform DML or some of DDL on this table. Also, if possible, grabs name of the trigger being parsed so it can be used to correctly drop problematic trigger.