Add extre DBUG_PRINT in push_warning

This commit is contained in:
msvensson@shellback.(none) 2006-03-16 12:06:39 +01:00
parent dd0635dc38
commit 2d5634b592

View File

@ -108,6 +108,7 @@ MYSQL_ERROR *push_warning(THD *thd, MYSQL_ERROR::enum_warning_level level,
{
MYSQL_ERROR *err= 0;
DBUG_ENTER("push_warning");
DBUG_PRINT("enter", ("code: %d, msg: %s", code, msg));
if (level == MYSQL_ERROR::WARN_LEVEL_NOTE &&
!(thd->options & OPTION_SQL_NOTES))