summaryrefslogtreecommitdiff
path: root/sql/my_apc.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2012-07-05 22:04:13 +0400
committerSergey Petrunya <psergey@askmonty.org>2012-07-05 22:04:13 +0400
commit3e90dc1f77dc3fa51d542bf82a336753310f7776 (patch)
treed0c14418aa1ab3d3af27a98cd9a27d603d753fac /sql/my_apc.h
parentb97678f066dd9dfb32409c61028080ac14efb1eb (diff)
downloadmariadb-git-3e90dc1f77dc3fa51d542bf82a336753310f7776.tar.gz
MWL#182: Explain running statements
- Make SHOW EXPLAIN command be KILLable with KILL QUERY.
Diffstat (limited to 'sql/my_apc.h')
-rw-r--r--sql/my_apc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/my_apc.h b/sql/my_apc.h
index 93b934c9df1..84819b9beea 100644
--- a/sql/my_apc.h
+++ b/sql/my_apc.h
@@ -33,6 +33,8 @@
requestor.
*/
+class THD;
+
/*
Target for asynchronous procedure calls (APCs).
- A target is running in some particular thread,
@@ -62,7 +64,7 @@ public:
};
/* Make a call in the target thread (see function definition for details) */
- bool make_apc_call(Apc_call *call, int timeout_sec, bool *timed_out);
+ bool make_apc_call(THD *caller_thd, Apc_call *call, int timeout_sec, bool *timed_out);
#ifndef DBUG_OFF
int n_calls_processed; /* Number of calls served by this target */