• unknown's avatar
    Review fixes: · 90e41fac
    unknown authored
    Fixed portability problem with bool in C programs
    Moved close_thread_tables out from LOCK_thread_count mutex (safety fix)
    my_sleep() -> pthread_cond_timedwait()
    
    
    include/thr_lock.h:
      bool -> my_bool (bool is not portable in C programs)
    mysys/thr_lock.c:
      bool -> my_bool (bool is not portable in C programs)
    sql/lock.cc:
      Added comment
      Don't use | on bool variable
    sql/mysql_priv.h:
      Added comment
    sql/slave.cc:
      Moved close_thread_tables out from LOCK_thread_count mutex (safety fix)
    sql/sql_base.cc:
      Added comments
      my_sleep() -> pthread_cond_timedwait() to get less code and potentitally faster loop
    BitKeeper/etc/ignore:
      added ac_available_languages_fragment
    90e41fac
thr_lock.c 40.4 KB