diff options
author | unknown <malff/marcsql@weblab.(none)> | 2007-05-22 16:19:36 -0600 |
---|---|---|
committer | unknown <malff/marcsql@weblab.(none)> | 2007-05-22 16:19:36 -0600 |
commit | e5fe02615e71ac59d2f9577e199a0c95d5021408 (patch) | |
tree | d056c801f32fa6eeb6616b1d1e7c2991df4f516d /sql/event_queue.cc | |
parent | 2e6e572f994cd0c458e35847d81d00e45af340f2 (diff) | |
download | mariadb-git-e5fe02615e71ac59d2f9577e199a0c95d5021408.tar.gz |
build break cleanup
include/config-win.h:
cleanup, windows build break
include/my_pthread.h:
cleanup, windows build break
sql/event_queue.cc:
warnings cleanup, unititialized waiting_on_cond
tests/mysql_client_test.c:
warnings cleanup
Diffstat (limited to 'sql/event_queue.cc')
-rw-r--r-- | sql/event_queue.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sql/event_queue.cc b/sql/event_queue.cc index 40cb9040eef..6cf5da383ea 100644 --- a/sql/event_queue.cc +++ b/sql/event_queue.cc @@ -73,16 +73,14 @@ Event_queue::Event_queue() :next_activation_at(0), mutex_last_locked_at_line(0), mutex_last_unlocked_at_line(0), + mutex_last_attempted_lock_at_line(0), mutex_last_locked_in_func("n/a"), mutex_last_unlocked_in_func("n/a"), mutex_last_attempted_lock_in_func("n/a"), - mutex_last_attempted_lock_at_line(0), mutex_queue_data_locked(FALSE), - mutex_queue_data_attempting_lock(FALSE) + mutex_queue_data_attempting_lock(FALSE), + waiting_on_cond(FALSE) { - mutex_last_unlocked_in_func= mutex_last_locked_in_func= - mutex_last_attempted_lock_in_func= ""; - pthread_mutex_init(&LOCK_event_queue, MY_MUTEX_INIT_FAST); pthread_cond_init(&COND_queue_state, NULL); } |