mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
After merge fix: pthread_mutext_[un]lock -> mysql_mutex_[un]lock.
This commit is contained in:
parent
a806fd134d
commit
31c1efdb32
1 changed files with 2 additions and 2 deletions
|
@ -561,7 +561,7 @@ void _mi_report_crashed(MI_INFO *file, const char *message,
|
|||
THD *cur_thd;
|
||||
LIST *element;
|
||||
char buf[1024];
|
||||
pthread_mutex_lock(&file->s->intern_lock);
|
||||
mysql_mutex_lock(&file->s->intern_lock);
|
||||
if ((cur_thd= (THD*) file->in_use.data))
|
||||
sql_print_error("Got an error from thread_id=%lu, %s:%d", cur_thd->thread_id,
|
||||
sfile, sline);
|
||||
|
@ -575,7 +575,7 @@ void _mi_report_crashed(MI_INFO *file, const char *message,
|
|||
sql_print_error("%s", thd ? thd_security_context(thd, buf, sizeof(buf), 0)
|
||||
: "Unknown thread accessing table");
|
||||
}
|
||||
pthread_mutex_unlock(&file->s->intern_lock);
|
||||
mysql_mutex_unlock(&file->s->intern_lock);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue