diff options
author | unknown <msvensson@shellback.(none)> | 2006-03-16 12:06:39 +0100 |
---|---|---|
committer | unknown <msvensson@shellback.(none)> | 2006-03-16 12:06:39 +0100 |
commit | d33fc7bad1a7e019434692d5244f6477373771f3 (patch) | |
tree | a0addb576df51d24453bf417fe4f5143535186b8 /sql/sql_error.cc | |
parent | 232dec09d9399efcc63c06e2a3aaba0713c31368 (diff) | |
download | mariadb-git-d33fc7bad1a7e019434692d5244f6477373771f3.tar.gz |
Add extre DBUG_PRINT in push_warning
sql/sql_error.cc:
Add DBUG_PRINT to make it easier to find the correct push_warning
Diffstat (limited to 'sql/sql_error.cc')
-rw-r--r-- | sql/sql_error.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_error.cc b/sql/sql_error.cc index 191a6e0a1fd..19811efbb12 100644 --- a/sql/sql_error.cc +++ b/sql/sql_error.cc @@ -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)) |