1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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
This commit is contained in:
Monty
2020-06-03 18:42:54 +03:00
parent 96d7294586
commit 74df3c8024

View File

@ -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()));