mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 23:54:31 +02:00
MDEV-30436 [fixup] Add missing check for HAVE_PSI_INTERFACE
A fixup of 3e9aa07cce, with thanks to
Daniel Black.
This commit is contained in:
parent
998e765060
commit
ea962ca495
1 changed files with 2 additions and 0 deletions
|
|
@ -8629,12 +8629,14 @@ int spider_create_sts_crd_threads(
|
|||
) {
|
||||
int error_num;
|
||||
DBUG_ENTER("spider_create_sts_crd_threads");
|
||||
#ifdef HAVE_PSI_INTERFACE
|
||||
PSI_mutex_key mutex_bg= is_sts ? spd_key_mutex_bg_stss :
|
||||
spd_key_mutex_bg_crds;
|
||||
PSI_cond_key cond_bg= is_sts ? spd_key_cond_bg_stss :
|
||||
spd_key_cond_bg_crds;
|
||||
PSI_cond_key cond_bg_syncs= is_sts ? spd_key_cond_bg_sts_syncs :
|
||||
spd_key_cond_bg_crd_syncs;
|
||||
#endif
|
||||
if (mysql_mutex_init(mutex_bg,
|
||||
&spider_thread->mutex, MY_MUTEX_INIT_FAST))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue