summaryrefslogtreecommitdiff
path: root/storage/myisam
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@sun.com>2009-12-10 13:19:06 +0400
committerSergey Vojtovich <svoj@sun.com>2009-12-10 13:19:06 +0400
commit9b0e649a2ca37e7ac6a17e12e130b9162687f660 (patch)
treee3a3809360918213ea6a61a1bcaeb134b7423c00 /storage/myisam
parentcda5ad508ae591c3d73c5316eb68e024e5ebd7c4 (diff)
downloadmariadb-git-9b0e649a2ca37e7ac6a17e12e130b9162687f660.tar.gz
After merge fix: pthread_mutext_[un]lock -> mysql_mutex_[un]lock.
Diffstat (limited to 'storage/myisam')
-rw-r--r--storage/myisam/ha_myisam.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/myisam/ha_myisam.cc b/storage/myisam/ha_myisam.cc
index d0db7e785f3..33678e9677b 100644
--- a/storage/myisam/ha_myisam.cc
+++ b/storage/myisam/ha_myisam.cc
@@ -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);
}
}