URGENT fixed bug in shared memory (handler_count)

This commit is contained in:
wax@kishkin.ru 2003-03-02 19:35:37 +05:00
parent 475e64520b
commit 15e69055a1
2 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -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 */