summaryrefslogtreecommitdiff
path: root/sql/sql_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_test.cc')
-rw-r--r--sql/sql_test.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_test.cc b/sql/sql_test.cc
index 1a522b852e9..01363714484 100644
--- a/sql/sql_test.cc
+++ b/sql/sql_test.cc
@@ -27,7 +27,9 @@
#include <sys/malloc.h>
#endif
+#ifdef HAVE_EVENT_SCHEDULER
#include "events.h"
+#endif
static const char *lock_descriptions[] =
{
@@ -539,6 +541,8 @@ Estimated memory (with thread stack): %ld\n",
(long) (thread_count * my_thread_stack_size + info.hblkhd + info.arena));
#endif
+#ifdef HAVE_EVENT_SCHEDULER
Events::dump_internal_status();
+#endif
puts("");
}