My Project
Public Member Functions
Deprecated_trigger_syntax_handler Class Reference

List of all members.

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 ()

Detailed Description

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines