mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
comment
This commit is contained in:
parent
b3ff0acc29
commit
9bafb1a7ed
1 changed files with 8 additions and 5 deletions
|
@ -92,17 +92,20 @@ static int cur_plugin_info_interface_version[MYSQL_MAX_PLUGIN_TYPE_NUM]=
|
||||||
MYSQL_INFORMATION_SCHEMA_INTERFACE_VERSION
|
MYSQL_INFORMATION_SCHEMA_INTERFACE_VERSION
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static bool initialized= 0;
|
||||||
|
|
||||||
|
/*
|
||||||
|
A mutex LOCK_plugin must be acquired before accessing the
|
||||||
|
following variables/structures.
|
||||||
|
We are always manipulating ref count, so a rwlock here is unneccessary.
|
||||||
|
*/
|
||||||
|
static pthread_mutex_t LOCK_plugin;
|
||||||
static DYNAMIC_ARRAY plugin_dl_array;
|
static DYNAMIC_ARRAY plugin_dl_array;
|
||||||
static DYNAMIC_ARRAY plugin_array;
|
static DYNAMIC_ARRAY plugin_array;
|
||||||
static HASH plugin_hash[MYSQL_MAX_PLUGIN_TYPE_NUM];
|
static HASH plugin_hash[MYSQL_MAX_PLUGIN_TYPE_NUM];
|
||||||
/* we are always manipulating ref count, so a rwlock is unneccessary */
|
|
||||||
static pthread_mutex_t LOCK_plugin;
|
|
||||||
static bool initialized= 0;
|
|
||||||
static bool reap_needed= false;
|
static bool reap_needed= false;
|
||||||
|
|
||||||
static int plugin_array_version=0;
|
static int plugin_array_version=0;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
write-lock on LOCK_system_variables_hash is required before modifying
|
write-lock on LOCK_system_variables_hash is required before modifying
|
||||||
the following variables/structures
|
the following variables/structures
|
||||||
|
|
Loading…
Reference in a new issue