From 20cacb00647cf4e5e170338363f3f09cf2f5b2e6 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 5 Mar 2015 09:58:08 +0100 Subject: [PATCH] fix a crash of innodb.innodb_mutexes,innodb_plugin add forgotten initialization of the mutex name --- storage/innobase/sync/sync0sync.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/innobase/sync/sync0sync.cc b/storage/innobase/sync/sync0sync.cc index 5f5c6d2a5f2..44922de48f9 100644 --- a/storage/innobase/sync/sync0sync.cc +++ b/storage/innobase/sync/sync0sync.cc @@ -294,6 +294,7 @@ mutex_create_func( mutex->cfile_name = cfile_name; mutex->cline = cline; mutex->count_os_wait = 0; + mutex->cmutex_name = cmutex_name; /* Check that lock_word is aligned; this is important on Intel */ ut_ad(((ulint)(&(mutex->lock_word))) % 4 == 0);