Commit bbe0055f authored by Monty's avatar Monty

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
parent 29fd049a
......@@ -4163,6 +4163,11 @@ class THD :public Statement,
{
parse_error(ER_SYNTAX_ERROR);
}
#ifdef mysqld_error_find_printf_error_used
void parse_error(const char *t)
{
}
#endif
private:
/*
Only the implementation of the SIGNAL and RESIGNAL statements
......
......@@ -56,6 +56,7 @@
#endif
#define ER_THD_OR_DEFAULT(thd,X) ((thd) ? ER_THD(thd, (X)) : ER_DEFAULT(X))
#define ME_INFO (ME_HOLDTANG | ME_NOREFRESH)
#define ME_ERROR (ME_BELL | ME_NOREFRESH)
#define MYF_RW MYF(MY_WME+MY_NABP) /* Vid my_read & my_write */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment