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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user