mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Added defines for mysqld_error_find_printf_error_used
This is to make it easier to use the create_mysqld_error_find_printf_error tool to find wrong print
This commit is contained in:
@ -4163,6 +4163,11 @@ public:
|
|||||||
{
|
{
|
||||||
parse_error(ER_SYNTAX_ERROR);
|
parse_error(ER_SYNTAX_ERROR);
|
||||||
}
|
}
|
||||||
|
#ifdef mysqld_error_find_printf_error_used
|
||||||
|
void parse_error(const char *t)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
#endif
|
||||||
private:
|
private:
|
||||||
/*
|
/*
|
||||||
Only the implementation of the SIGNAL and RESIGNAL statements
|
Only the implementation of the SIGNAL and RESIGNAL statements
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#define ER_THD_OR_DEFAULT(thd,X) ((thd) ? ER_THD(thd, (X)) : ER_DEFAULT(X))
|
#define ER_THD_OR_DEFAULT(thd,X) ((thd) ? ER_THD(thd, (X)) : ER_DEFAULT(X))
|
||||||
|
|
||||||
|
|
||||||
#define ME_INFO (ME_HOLDTANG | ME_NOREFRESH)
|
#define ME_INFO (ME_HOLDTANG | ME_NOREFRESH)
|
||||||
#define ME_ERROR (ME_BELL | ME_NOREFRESH)
|
#define ME_ERROR (ME_BELL | ME_NOREFRESH)
|
||||||
#define MYF_RW MYF(MY_WME+MY_NABP) /* Vid my_read & my_write */
|
#define MYF_RW MYF(MY_WME+MY_NABP) /* Vid my_read & my_write */
|
||||||
|
Reference in New Issue
Block a user