From 74df3c8024faa55faa361edb0a80548c9b36815c Mon Sep 17 00:00:00 2001 From: Monty Date: Wed, 3 Jun 2020 18:42:54 +0300 Subject: 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 --- sql/sql_select.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sql/sql_select.cc') 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())); -- cgit v1.2.1