Browse Source

fix a crash of innodb.innodb_mutexes,innodb_plugin

add forgotten initialization of the mutex name
pull/28/merge
Sergei Golubchik 11 years ago
parent
commit
20cacb0064
  1. 1
      storage/innobase/sync/sync0sync.cc

1
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);

Loading…
Cancel
Save