summaryrefslogtreecommitdiff
path: root/storage/maria/ma_checkpoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_checkpoint.c')
-rw-r--r--storage/maria/ma_checkpoint.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/maria/ma_checkpoint.c b/storage/maria/ma_checkpoint.c
index 30124b2205d..304216a76d9 100644
--- a/storage/maria/ma_checkpoint.c
+++ b/storage/maria/ma_checkpoint.c
@@ -562,6 +562,10 @@ pthread_handler_t ma_checkpoint_background(void *arg)
DBUG_PRINT("info",("Maria background checkpoint thread starts"));
DBUG_ASSERT(interval > 0);
+#ifdef HAVE_PSI_THREAD_INTERFACE
+ PSI_CALL(set_thread_user_host)(0,0,0,0);
+#endif
+
/*
Recovery ended with all tables closed and a checkpoint: no need to take
one immediately.