summaryrefslogtreecommitdiff
path: root/sql/my_apc.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2013-02-12 08:20:14 +0400
committerSergey Petrunya <psergey@askmonty.org>2013-02-12 08:20:14 +0400
commit18fec5128b6fd9712f63e306f03f16833f2599b2 (patch)
treed4f4f4428c6402146c05244504c63ad9a0b14989 /sql/my_apc.h
parenta555ceb2fb75c9958e39c963ca2a83e615629711 (diff)
downloadmariadb-git-18fec5128b6fd9712f63e306f03f16833f2599b2.tar.gz
EXPLAIN DELETE for MariaDB
- Backported the code to 10.0-base - Removed incorrect assert
Diffstat (limited to 'sql/my_apc.h')
-rw-r--r--sql/my_apc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/my_apc.h b/sql/my_apc.h
index 7f19809c082..ee94595e78f 100644
--- a/sql/my_apc.h
+++ b/sql/my_apc.h
@@ -64,6 +64,8 @@ public:
{
return test(apc_calls);
}
+
+ inline bool is_enabled() { return enabled; }
/* Functor class for calls you can schedule */
class Apc_call