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:
@ -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,
|
|||||||
|
|
||||||
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()));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user