Fixed small race condition, when global query_id was modified
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
Showing
Please register or sign in to comment