MySQL 9.0.0
Source Code Documentation
error_handler.cc File Reference
#include "sql/error_handler.h"
#include "sql/auth/auth_acls.h"
#include <errno.h>
#include "lex_string.h"
#include "my_inttypes.h"
#include "my_sqlcommand.h"
#include "my_sys.h"
#include "my_thread_local.h"
#include "mysys_err.h"
#include "sql/create_field.h"
#include "sql/derror.h"
#include "sql/field.h"
#include "sql/mdl.h"
#include "sql/sql_class.h"
#include "sql/sql_lex.h"
#include "sql/system_variables.h"
#include "sql/table.h"
#include "sql/transaction_info.h"
#include "sql_string.h"

Classes

class  Repair_mrg_table_error_handler
 This internal handler is used to trap ER_NO_SUCH_TABLE and ER_WRONG_MRG_TABLE errors during CHECK/REPAIR TABLE for MERGE tables. More...
 

Functions

template<typename... Args>
static bool report_error (THD *thd, int error_code, Sql_condition::enum_severity_level level, Args... args)
 
static bool report_error (THD *thd, int error_code, Sql_condition::enum_severity_level level)
 

Function Documentation

◆ report_error() [1/2]

static bool report_error ( THD thd,
int  error_code,
Sql_condition::enum_severity_level  level 
)
static

◆ report_error() [2/2]

template<typename... Args>
static bool report_error ( THD thd,
int  error_code,
Sql_condition::enum_severity_level  level,
Args...  args 
)
static