mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-32351: Significant slowdown with outer joins: Test coverage
Make ANALYZE FORMAT=JSON print block-nl-join.r_unpack_ops when analyze_print_r_unpack_ops debug flag is set. Then, add a testcase.
This commit is contained in:
committed by
Oleksandr Byelkin
parent
4ed5900626
commit
9bf2e5e3fe
@ -1907,6 +1907,11 @@ void Explain_table_access::print_explain_json(Explain_query *query,
|
||||
|
||||
writer->add_member("r_unpack_time_ms");
|
||||
writer->add_double(jbuf_unpack_tracker.get_time_ms());
|
||||
DBUG_EXECUTE_IF("analyze_print_r_unpack_ops",
|
||||
{
|
||||
writer->add_member("r_unpack_ops");
|
||||
writer->add_ull(jbuf_unpack_tracker.get_loops());
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user