Commit 20cacb00 authored by Sergei Golubchik's avatar Sergei Golubchik

fix a crash of innodb.innodb_mutexes,innodb_plugin

add forgotten initialization of the mutex name
parent 2db62f68
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment