1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

perfschema compilation, test and misc fixes

This commit is contained in:
Sergei Golubchik
2020-02-15 18:25:57 +01:00
parent 81cffda2e6
commit 7af733a5a2
403 changed files with 20147 additions and 63173 deletions

View File

@@ -61,9 +61,9 @@ table_session_variables::create(void)
ha_rows table_session_variables::get_row_count(void)
{
mysql_mutex_lock(&LOCK_plugin_delete);
mysql_rwlock_rdlock(&LOCK_system_variables_hash);
mysql_prlock_rdlock(&LOCK_system_variables_hash);
ha_rows system_var_count= get_system_variable_hash_records();
mysql_rwlock_unlock(&LOCK_system_variables_hash);
mysql_prlock_unlock(&LOCK_system_variables_hash);
mysql_mutex_unlock(&LOCK_plugin_delete);
return system_var_count;
}