Commit b3706c82 authored by Alexander Barkov's avatar Alexander Barkov

An improvement for the MDEV-11514 patch: adding data type name into debug output

Now after the patch for MDEV-11478 added a new method Type_handler::name(),
using the new method in debug output to make test results for MDEV-11514
more readable (func_debug.result).
parent 8aa044e6
This diff is collapsed.
...@@ -1796,9 +1796,11 @@ class Predicant_to_list_comparator ...@@ -1796,9 +1796,11 @@ class Predicant_to_list_comparator
{ {
DBUG_EXECUTE_IF("Predicant_to_list_comparator", DBUG_EXECUTE_IF("Predicant_to_list_comparator",
push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE, push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE,
ER_UNKNOWN_ERROR, "DBUG: [%d] arg=%d handler=%d", i, ER_UNKNOWN_ERROR, "DBUG: [%d] arg=%d handler=%d (%s)", i,
m_comparators[i].m_arg_index, m_comparators[i].m_arg_index,
m_comparators[i].m_handler_index);); m_comparators[i].m_handler_index,
m_comparators[m_comparators[i].m_handler_index].
m_handler->name().ptr()););
} }
} }
#endif #endif
......
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