Commit 9b0e649a authored by Sergey Vojtovich's avatar Sergey Vojtovich

After merge fix: pthread_mutext_[un]lock -> mysql_mutex_[un]lock.

parent cda5ad50
...@@ -561,7 +561,7 @@ void _mi_report_crashed(MI_INFO *file, const char *message, ...@@ -561,7 +561,7 @@ void _mi_report_crashed(MI_INFO *file, const char *message,
THD *cur_thd; THD *cur_thd;
LIST *element; LIST *element;
char buf[1024]; 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)) if ((cur_thd= (THD*) file->in_use.data))
sql_print_error("Got an error from thread_id=%lu, %s:%d", cur_thd->thread_id, sql_print_error("Got an error from thread_id=%lu, %s:%d", cur_thd->thread_id,
sfile, sline); sfile, sline);
...@@ -575,7 +575,7 @@ void _mi_report_crashed(MI_INFO *file, const char *message, ...@@ -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) sql_print_error("%s", thd ? thd_security_context(thd, buf, sizeof(buf), 0)
: "Unknown thread accessing table"); : "Unknown thread accessing table");
} }
pthread_mutex_unlock(&file->s->intern_lock); mysql_mutex_unlock(&file->s->intern_lock);
} }
} }
......
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