Commit 74df3c80 authored by Monty's avatar Monty

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
parent 96d72945
...@@ -428,7 +428,7 @@ bool handle_select(THD *thd, LEX *lex, select_result *result, ...@@ -428,7 +428,7 @@ bool handle_select(THD *thd, LEX *lex, select_result *result,
setup_tables_done_option, setup_tables_done_option,
result, unit, select_lex); 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())); thd->is_error()));
res|= thd->is_error(); res|= thd->is_error();
if (unlikely(res)) if (unlikely(res))
...@@ -20671,8 +20671,8 @@ evaluate_join_record(JOIN *join, JOIN_TAB *join_tab, ...@@ -20671,8 +20671,8 @@ evaluate_join_record(JOIN *join, JOIN_TAB *join_tab,
DBUG_ENTER("evaluate_join_record"); DBUG_ENTER("evaluate_join_record");
DBUG_PRINT("enter", DBUG_PRINT("enter",
("evaluate_join_record join: %p join_tab: %p" ("evaluate_join_record join: %p join_tab: %p "
" cond: %p error: %d alias %s", "cond: %p abort: %d alias %s",
join, join_tab, select_cond, error, join, join_tab, select_cond, error,
join_tab->table->alias.ptr())); join_tab->table->alias.ptr()));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment