1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

MWL#182: Explain running statements: address review feedback

- Add Monty Program Ab copyright in new files
- Change Apc_target::make_apc_call() to accept a C++-style
  functor (instead of C-style function + parameter)
This commit is contained in:
Sergey Petrunya
2012-06-28 13:58:37 +04:00
parent 66c62de103
commit c62c0c5516
5 changed files with 57 additions and 34 deletions

View File

@@ -2065,9 +2065,7 @@ void mysqld_show_explain(THD *thd, ulong thread_id)
explain_req.failed_to_produce= FALSE;
/* Ok, we have a lock on target->LOCK_thd_data, can call: */
bres= tmp->apc_target.make_apc_call(Show_explain_request::get_explain_data,
(void*)&explain_req,
timeout_sec, &timed_out);
bres= tmp->apc_target.make_apc_call(&explain_req, timeout_sec, &timed_out);
if (bres || explain_req.failed_to_produce)
{