fix a crash of innodb.innodb_mutexes,innodb_plugin
add forgotten initialization of the mutex name
This commit is contained in:
parent
2db62f686e
commit
20cacb0064
@ -294,6 +294,7 @@ mutex_create_func(
|
|||||||
mutex->cfile_name = cfile_name;
|
mutex->cfile_name = cfile_name;
|
||||||
mutex->cline = cline;
|
mutex->cline = cline;
|
||||||
mutex->count_os_wait = 0;
|
mutex->count_os_wait = 0;
|
||||||
|
mutex->cmutex_name = cmutex_name;
|
||||||
|
|
||||||
/* Check that lock_word is aligned; this is important on Intel */
|
/* Check that lock_word is aligned; this is important on Intel */
|
||||||
ut_ad(((ulint)(&(mutex->lock_word))) % 4 == 0);
|
ut_ad(((ulint)(&(mutex->lock_word))) % 4 == 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user