summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 452690f3237..4ed4f7b270e 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -3125,7 +3125,8 @@ int fill_show_explain(THD *thd, TABLE_LIST *table, COND *cond)
explain_req.failed_to_produce= FALSE;
/* Ok, we have a lock on target->LOCK_thd_kill, can call: */
- bres= tmp->apc_target.make_apc_call(thd, &explain_req, timeout_sec, &timed_out);
+ bres= tmp->apc_target.make_apc_call(tmp, thd, &explain_req,
+ timeout_sec, &timed_out);
if (bres || explain_req.failed_to_produce)
{