diff options
author | msvensson@shellback.(none) <> | 2006-03-16 12:06:39 +0100 |
---|---|---|
committer | msvensson@shellback.(none) <> | 2006-03-16 12:06:39 +0100 |
commit | 2d5634b592d81cc147d68dbb2c97a24ffd79ccf3 (patch) | |
tree | a0addb576df51d24453bf417fe4f5143535186b8 /sql/sql_error.cc | |
parent | dd0635dc3863ec6a7b3ca3fc10707f5521e1e360 (diff) | |
download | mariadb-git-2d5634b592d81cc147d68dbb2c97a24ffd79ccf3.tar.gz |
Add extre DBUG_PRINT in 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)) |