summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index d29dc0eff14..e91c80d3f36 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -1465,6 +1465,9 @@ void THD::init(void)
/* Initialize the Debug Sync Facility. See debug_sync.cc. */
debug_sync_init_thread(this);
#endif /* defined(ENABLED_DEBUG_SYNC) */
+
+ session_tracker.enable(this);
+
apc_target.init(&LOCK_thd_data);
DBUG_VOID_RETURN;
}