diff options
author | Monty <monty@mariadb.org> | 2020-06-03 18:42:54 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-06-14 19:39:42 +0300 |
commit | 74df3c8024faa55faa361edb0a80548c9b36815c (patch) | |
tree | e7e2b7a8ae03f6467e8c0a5d715855ff3ed88ad9 /sql/sql_select.cc | |
parent | 96d7294586dbd80aa48902138e3e42aec8977d90 (diff) | |
download | mariadb-git-74df3c8024faa55faa361edb0a80548c9b36815c.tar.gz |
Changed some DBUG_PRINT that used error:
The reson for the change was to make it easier to find true errors
when searching in trace logs.
"error:" should mainly be used when we have a real error
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 76cb96b93fd..7ac42706d1d 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -428,7 +428,7 @@ bool handle_select(THD *thd, LEX *lex, select_result *result, setup_tables_done_option, result, unit, select_lex); } - DBUG_PRINT("info",("res: %d report_error: %d", res, + DBUG_PRINT("info",("res: %d is_error(): %d", res, thd->is_error())); res|= thd->is_error(); if (unlikely(res)) @@ -20671,8 +20671,8 @@ evaluate_join_record(JOIN *join, JOIN_TAB *join_tab, DBUG_ENTER("evaluate_join_record"); DBUG_PRINT("enter", - ("evaluate_join_record join: %p join_tab: %p" - " cond: %p error: %d alias %s", + ("evaluate_join_record join: %p join_tab: %p " + "cond: %p abort: %d alias %s", join, join_tab, select_cond, error, join_tab->table->alias.ptr())); |