mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
InnoDB: make UNIV_SYNC_DEBUG useable again
innobase/include/sync0sync.h: mutex_get_debug_info(): add const qualifier innobase/srv/srv0start.c: Set srv_monitor_file_mutex at level SYNC_NO_ORDER_CHECK innobase/sync/sync0arr.c: sync_array_detect_deadlock(): Remove extraneous declaration of "lock" innobase/sync/sync0sync.c: mutex_get_debug_info(): add const qualifier
This commit is contained in:
@ -1022,6 +1022,7 @@ NetWare. */
|
||||
}
|
||||
|
||||
mutex_create(&srv_monitor_file_mutex);
|
||||
mutex_set_level(&srv_monitor_file_mutex, SYNC_NO_ORDER_CHECK);
|
||||
srv_monitor_file_name = mem_alloc(
|
||||
strlen(fil_path_to_mysql_datadir) +
|
||||
20 + sizeof "/innodb_status.");
|
||||
|
Reference in New Issue
Block a user