1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +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:
Alexander Barkov
2016-12-29 12:38:45 +04:00
parent 8aa044e674
commit b3706c82aa
2 changed files with 571 additions and 569 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1796,9 +1796,11 @@ public:
{
DBUG_EXECUTE_IF("Predicant_to_list_comparator",
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_handler_index););
m_comparators[i].m_handler_index,
m_comparators[m_comparators[i].m_handler_index].
m_handler->name().ptr()););
}
}
#endif