MDEV-16495 mariadb segfaults at start on FreeBSD
don't use MY_MUTEX_INIT_FAST in constructors of statically allocated objects.
This commit is contained in:
parent
10d347dc6a
commit
08b91548db
1 changed files with 1 additions and 2 deletions
|
@ -43,8 +43,7 @@ Ack_receiver::Ack_receiver()
|
|||
DBUG_ENTER("Ack_receiver::Ack_receiver");
|
||||
|
||||
m_status= ST_DOWN;
|
||||
mysql_mutex_init(key_LOCK_ack_receiver, &m_mutex,
|
||||
MY_MUTEX_INIT_FAST);
|
||||
mysql_mutex_init(key_LOCK_ack_receiver, &m_mutex, NULL);
|
||||
mysql_cond_init(key_COND_ack_receiver, &m_cond, NULL);
|
||||
m_pid= 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue