summaryrefslogtreecommitdiff
path: root/storage/innobase/trx/trx0roll.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/trx/trx0roll.c')
-rw-r--r--storage/innobase/trx/trx0roll.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/innobase/trx/trx0roll.c b/storage/innobase/trx/trx0roll.c
index c925478cdf4..6e72b13e116 100644
--- a/storage/innobase/trx/trx0roll.c
+++ b/storage/innobase/trx/trx0roll.c
@@ -615,6 +615,10 @@ trx_rollback_or_clean_all_recovered(
/*!< in: a dummy parameter required by
os_thread_create */
{
+#ifdef UNIV_PFS_THREAD
+ pfs_register_thread(trx_rollback_clean_thread_key);
+#endif /* UNIV_PFS_THREAD */
+
trx_rollback_or_clean_recovered(TRUE);
/* We count the number of threads in os_thread_exit(). A created