summaryrefslogtreecommitdiff
path: root/storage/innobase/sync/sync0sync.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-03-05 09:58:08 +0100
committerSergei Golubchik <serg@mariadb.org>2015-03-07 13:27:49 +0100
commit20cacb00647cf4e5e170338363f3f09cf2f5b2e6 (patch)
treef63405a93f24ce2e7582b06169a024e61d63ae20 /storage/innobase/sync/sync0sync.cc
parent2db62f686e148f09fe5fd0b385fc71f2a3c4a133 (diff)
downloadmariadb-git-20cacb00647cf4e5e170338363f3f09cf2f5b2e6.tar.gz
fix a crash of innodb.innodb_mutexes,innodb_plugin
add forgotten initialization of the mutex name
Diffstat (limited to 'storage/innobase/sync/sync0sync.cc')
-rw-r--r--storage/innobase/sync/sync0sync.cc1
1 files changed, 1 insertions, 0 deletions
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);