mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanup: PSI key is *always* the first argument
This commit is contained in:
@ -466,10 +466,9 @@ static void display_table_locks(void)
|
||||
void *saved_base;
|
||||
DYNAMIC_ARRAY saved_table_locks;
|
||||
|
||||
(void) my_init_dynamic_array(&saved_table_locks,
|
||||
key_memory_locked_thread_list,
|
||||
sizeof(TABLE_LOCK_INFO), tc_records() + 20, 50,
|
||||
MYF(0));
|
||||
(void) my_init_dynamic_array(key_memory_locked_thread_list,
|
||||
&saved_table_locks, sizeof(TABLE_LOCK_INFO),
|
||||
tc_records() + 20, 50, MYF(0));
|
||||
mysql_mutex_lock(&THR_LOCK_lock);
|
||||
for (list= thr_lock_thread_list; list; list= list_rest(list))
|
||||
{
|
||||
|
Reference in New Issue
Block a user