1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Adding "DBUG" prefix into the debug messages in Item_func_in::fix_length_and_dec()

As agreed with Sanja, debug messages printed in
Item_func_in::fix_length_and_dec() now have the "DBUG:" prefix,
to make the *.result files more readable.
Also changing level from WARN_LEVEL_WARN to WARN_LEVEL_NOTE.
This commit is contained in:
Alexander Barkov
2016-12-17 22:53:48 +04:00
parent 7d0a8832d8
commit 191c3f4973
2 changed files with 178 additions and 178 deletions

File diff suppressed because it is too large Load Diff

View File

@ -4155,8 +4155,8 @@ void Item_func_in::fix_length_and_dec()
} }
DBUG_EXECUTE_IF("Item_func_in", DBUG_EXECUTE_IF("Item_func_in",
push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN, push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE,
ER_UNKNOWN_ERROR, "types_compatible=%s bisect=%s", ER_UNKNOWN_ERROR, "DBUG: types_compatible=%s bisect=%s",
arg_types_compatible ? "yes" : "no", arg_types_compatible ? "yes" : "no",
array != NULL ? "yes" : "no");); array != NULL ? "yes" : "no"););
} }