summaryrefslogtreecommitdiff
path: root/innobase/thr
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/thr')
-rw-r--r--innobase/thr/thr0loc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/thr/thr0loc.c b/innobase/thr/thr0loc.c
index 897e53557c3..d3d7a58d313 100644
--- a/innobase/thr/thr0loc.c
+++ b/innobase/thr/thr0loc.c
@@ -224,5 +224,5 @@ thr_local_init(void)
thr_local_hash = hash_create(OS_THREAD_MAX_N + 100);
mutex_create(&thr_local_mutex);
- mutex_set_level(&thr_local_mutex, SYNC_ANY_LATCH);
+ mutex_set_level(&thr_local_mutex, SYNC_THR_LOCAL);
}