summaryrefslogtreecommitdiff
path: root/sql/sql_error.cc
diff options
context:
space:
mode:
authormsvensson@shellback.(none) <>2006-03-16 12:06:39 +0100
committermsvensson@shellback.(none) <>2006-03-16 12:06:39 +0100
commit2d5634b592d81cc147d68dbb2c97a24ffd79ccf3 (patch)
treea0addb576df51d24453bf417fe4f5143535186b8 /sql/sql_error.cc
parentdd0635dc3863ec6a7b3ca3fc10707f5521e1e360 (diff)
downloadmariadb-git-2d5634b592d81cc147d68dbb2c97a24ffd79ccf3.tar.gz
Add extre DBUG_PRINT in push_warning
Diffstat (limited to 'sql/sql_error.cc')
-rw-r--r--sql/sql_error.cc1
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))