diff options
author | Marc Alff <marc.alff@sun.com> | 2009-12-09 20:19:51 -0700 |
---|---|---|
committer | Marc Alff <marc.alff@sun.com> | 2009-12-09 20:19:51 -0700 |
commit | e33a8b2a1a254271d99b6c5f00097fd0d89adb90 (patch) | |
tree | cc0a038191d1969182d5dd108c891ee10a436cc0 /sql/sql_plugin.cc | |
parent | fd433cfb96adcbb013b27838cd80576dff92989d (diff) | |
download | mariadb-git-e33a8b2a1a254271d99b6c5f00097fd0d89adb90.tar.gz |
WL#2360 Performance schema
Part III: mysys instrumentation
Diffstat (limited to 'sql/sql_plugin.cc')
-rw-r--r-- | sql/sql_plugin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc index 936c9ae8866..098783111a1 100644 --- a/sql/sql_plugin.cc +++ b/sql/sql_plugin.cc @@ -1372,10 +1372,10 @@ static void plugin_load(MEM_ROOT *tmp_root, int *argc, char **argv) When building an embedded library, if the mysql.plugin table does not exist, we silently ignore the missing table */ - pthread_mutex_lock(&LOCK_open); + mysql_mutex_lock(&LOCK_open); if (check_if_table_exists(new_thd, &tables, &table_exists)) table_exists= FALSE; - pthread_mutex_unlock(&LOCK_open); + mysql_mutex_unlock(&LOCK_open); if (!table_exists) goto end; #endif /* EMBEDDED_LIBRARY */ |