Commit 2e583735 authored by unknown's avatar unknown

Fix an assert on AIX 5.2, 64bit. COND_queue_state wasn't

initialized prior to usage as well as deinitialized on shutdown.


sql/event_queue.cc:
  Deinitialize and initialize COND_queue_state
parent 2d8bd876
......@@ -101,6 +101,7 @@ void
Event_queue::init_mutexes()
{
pthread_mutex_init(&LOCK_event_queue, MY_MUTEX_INIT_FAST);
pthread_cond_init(&COND_queue_state, NULL);
}
......@@ -115,6 +116,7 @@ void
Event_queue::deinit_mutexes()
{
pthread_mutex_destroy(&LOCK_event_queue);
pthread_cond_destroy(&COND_queue_state);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment