Commit edfb72cf authored by marko@hundin.mysql.fi's avatar marko@hundin.mysql.fi

Merge marko@build.mysql.com:/home/bk/mysql-4.0

into hundin.mysql.fi:/home/marko/l/mysql-4.0
parents 5454e5f9 acb54a24
...@@ -218,7 +218,7 @@ void ...@@ -218,7 +218,7 @@ void
mutex_get_debug_info( mutex_get_debug_info(
/*=================*/ /*=================*/
mutex_t* mutex, /* in: mutex */ mutex_t* mutex, /* in: mutex */
char** file_name, /* out: file where requested */ const char** file_name, /* out: file where requested */
ulint* line, /* out: line where requested */ ulint* line, /* out: line where requested */
os_thread_id_t* thread_id); /* out: id of the thread which owns os_thread_id_t* thread_id); /* out: id of the thread which owns
the mutex */ the mutex */
......
...@@ -1022,6 +1022,7 @@ NetWare. */ ...@@ -1022,6 +1022,7 @@ NetWare. */
} }
mutex_create(&srv_monitor_file_mutex); mutex_create(&srv_monitor_file_mutex);
mutex_set_level(&srv_monitor_file_mutex, SYNC_NO_ORDER_CHECK);
srv_monitor_file_name = mem_alloc( srv_monitor_file_name = mem_alloc(
strlen(fil_path_to_mysql_datadir) + strlen(fil_path_to_mysql_datadir) +
20 + sizeof "/innodb_status."); 20 + sizeof "/innodb_status.");
......
...@@ -613,7 +613,6 @@ sync_array_detect_deadlock( ...@@ -613,7 +613,6 @@ sync_array_detect_deadlock(
rw_lock_t* lock; rw_lock_t* lock;
os_thread_id_t thread; os_thread_id_t thread;
ibool ret; ibool ret;
rw_lock_t* lock;
rw_lock_debug_t*debug; rw_lock_debug_t*debug;
ut_a(arr && start && cell); ut_a(arr && start && cell);
......
...@@ -515,7 +515,7 @@ void ...@@ -515,7 +515,7 @@ void
mutex_get_debug_info( mutex_get_debug_info(
/*=================*/ /*=================*/
mutex_t* mutex, /* in: mutex */ mutex_t* mutex, /* in: mutex */
char** file_name, /* out: file where requested */ const char** file_name, /* out: file where requested */
ulint* line, /* out: line where requested */ ulint* line, /* out: line where requested */
os_thread_id_t* thread_id) /* out: id of the thread which owns os_thread_id_t* thread_id) /* out: id of the thread which owns
the mutex */ the mutex */
...@@ -574,7 +574,7 @@ mutex_list_print_info(void) ...@@ -574,7 +574,7 @@ mutex_list_print_info(void)
/*=======================*/ /*=======================*/
{ {
mutex_t* mutex; mutex_t* mutex;
char* file_name; const char* file_name;
ulint line; ulint line;
os_thread_id_t thread_id; os_thread_id_t thread_id;
ulint count = 0; ulint count = 0;
...@@ -772,7 +772,7 @@ sync_thread_levels_g( ...@@ -772,7 +772,7 @@ sync_thread_levels_g(
if (mutex_get_lock_word(mutex) != 0) { if (mutex_get_lock_word(mutex) != 0) {
#ifdef UNIV_SYNC_DEBUG #ifdef UNIV_SYNC_DEBUG
char* file_name; const char* file_name;
ulint line; ulint line;
os_thread_id_t thread_id; os_thread_id_t thread_id;
......
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