diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2011-09-24 21:56:42 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2011-09-24 21:56:42 +0400 |
commit | 203bbfe5693a95e01c84d1e4b788b76645df2d11 (patch) | |
tree | a51f4ba0033e3b4a5de34fec2d931953b9d74e0d /sql/my_apc.h | |
parent | d9045bce1ddf1f017f0e127606c809271c953ef0 (diff) | |
download | mariadb-git-203bbfe5693a95e01c84d1e4b788b76645df2d11.tar.gz |
MWL#182: Explain running statements
- Implement new approach to testing (the DBUG_EXECUTE_IF variant)
- add an 'evalp' mysqltest command that is like 'eval' except that
it prints the original query.
- Fix select_describe() not to change join_tab[i]->type
- More tests
Diffstat (limited to 'sql/my_apc.h')
-rw-r--r-- | sql/my_apc.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/my_apc.h b/sql/my_apc.h index 3783bd28f54..3906aa24408 100644 --- a/sql/my_apc.h +++ b/sql/my_apc.h @@ -62,13 +62,17 @@ public: bool make_apc_call(apc_func_t func, void *func_arg, int timeout_sec, bool *timed_out); +#ifndef DBUG_OFF + int n_calls_processed; + //int call_queue_size; +#endif private: class Call_request; int enabled; Call_request *apc_calls; pthread_mutex_t LOCK_apc_queue; - //int call_queue_size; + class Call_request { |