mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Add extre DBUG_PRINT in push_warning
This commit is contained in:
@ -108,6 +108,7 @@ MYSQL_ERROR *push_warning(THD *thd, MYSQL_ERROR::enum_warning_level level,
|
|||||||
{
|
{
|
||||||
MYSQL_ERROR *err= 0;
|
MYSQL_ERROR *err= 0;
|
||||||
DBUG_ENTER("push_warning");
|
DBUG_ENTER("push_warning");
|
||||||
|
DBUG_PRINT("enter", ("code: %d, msg: %s", code, msg));
|
||||||
|
|
||||||
if (level == MYSQL_ERROR::WARN_LEVEL_NOTE &&
|
if (level == MYSQL_ERROR::WARN_LEVEL_NOTE &&
|
||||||
!(thd->options & OPTION_SQL_NOTES))
|
!(thd->options & OPTION_SQL_NOTES))
|
||||||
|
Reference in New Issue
Block a user