mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
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).
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1796,9 +1796,11 @@ public:
|
|||||||
{
|
{
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user