• unknown's avatar
    Fixed small race condition, when global query_id was modified · 23a6b4ed
    unknown authored
    without proper locking.
    
    
    sql/sp_head.cc:
      Added missing locking of LOCK_thread_count to place where ::query_id is 
      modified.
    sql/sql_parse.cc:
      Added comment to the only place where we are modifying ::query_id
      without following locking protocol, to avoid mistakes in future.
    BitKeeper/etc/logging_ok:
      Logging to logging@openlogging.org accepted
    23a6b4ed
logging_ok 3.47 KB