Commit 0da0ce93 authored by unknown's avatar unknown

URGENT fixed bug in shared memory (handler_count)


sql/mysqld.cc:
  fixed bug in shared memory
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
parent 10190533
......@@ -107,6 +107,7 @@ vva@eagle.mysql.r18.ru
vva@genie.(none)
walrus@kishkin.ru
walrus@mysql.com
wax@kishkin.ru
wax@mysql.com
worm@altair.is.lan
zak@balfor.local
......
......@@ -3346,7 +3346,9 @@ error:
if (!event_connect_answer) CloseHandle(event_connect_answer);
if (!event_connect_request) CloseHandle(event_connect_request);
pthread_mutex_lock(&LOCK_thread_count);
handler_count--;
pthread_mutex_unlock(&LOCK_thread_count);
pthread_cond_signal(&COND_handler_count);
DBUG_RETURN(0);
}
#endif /* HAVE_SMEM */
......
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