MySQL 8.4.0
Source Code Documentation
error_handler.h File Reference
#include <string>
#include <stddef.h>
#include <sys/types.h>
#include "mysqld_error.h"
#include "sql/sql_error.h"

Go to the source code of this file.

Classes

class  Internal_error_handler
 This class represents the interface for internal error handlers. More...
 
class  Dummy_error_handler
 Implements the trivial error handler which cancels all error states and prevents an SQLSTATE to be set. More...
 
class  Set_var_error_handler
 Implements the error handler for SET_VAR hint. More...
 
class  Drop_table_error_handler
 This class is an internal error handler implementation for DROP TABLE statements. More...
 
class  MDL_deadlock_and_lock_abort_error_handler
 Internal error handler to process an error from MDL_context::upgrade_lock() and mysql_lock_tables(). More...
 
class  View_error_handler
 An Internal_error_handler that suppresses errors regarding views' underlying tables that occur during privilege checking. More...
 
class  No_such_table_error_handler
 This internal handler is used to trap ER_NO_SUCH_TABLE and ER_BAD_DB_ERROR. More...
 
class  Ignore_error_handler
 This internal handler implements downgrade from SL_ERROR to SL_WARNING for statements which support IGNORE. More...
 
class  Strict_error_handler
 This internal handler implements upgrade from SL_WARNING to SL_ERROR for the error codes affected by STRICT mode. More...
 
class  Functional_index_error_handler
 The purpose of this error handler is to print out more user friendly error messages when an error regarding a functional index happens. More...
 
class  Tablespace_name_error_handler
 After retrieving the tablespace name, the tablespace name is validated. More...
 
class  Key_length_error_handler
 
class  Info_schema_error_handler
 Error handler class to convert ER_LOCK_DEADLOCK error to ER_WARN_I_S_SKIPPED_TABLE/TABLESPACE error. More...
 
class  Foreign_key_error_handler
 An Internal_error_handler that prevents revealing parent and child tables information when the foreign key constraint check fails and user does not have privileges to access those tables. More...
 
class  Ignore_warnings_error_handler
 An error handler that silences all warnings. More...
 
class  Ignore_json_syntax_handler
 An error handler which downgrades JSON syntax errors to warnings. More...