diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2012-07-05 22:04:13 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2012-07-05 22:04:13 +0400 |
commit | 3e90dc1f77dc3fa51d542bf82a336753310f7776 (patch) | |
tree | d0c14418aa1ab3d3af27a98cd9a27d603d753fac /sql/my_apc.h | |
parent | b97678f066dd9dfb32409c61028080ac14efb1eb (diff) | |
download | mariadb-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.h | 4 |
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 */ |