-
unknown authored
in the server. this fixes the problem with the limited number of threads because of them being non-detached. pthread_detach_this_tread() expands to empty on most platforms including SuSE but pthread_detach(pthread_self()) is not portable on Windows so the first macro should be used and the thread to be detached we have to create it as such. fix for bug#16984 (Events: running out of threads) WL#1034 (Internal CRON) sql/event_executor.cc: - use the connection_attib used to spawn threads in the server. this fixes the problem with the limited number of threads because of them being non-detached. pthread_detach_this_tread() expands to empty on most platforms including SuSE but pthread_detach(pthread_self()) is not portable on Windows so the first macro should be used and the thread to be detached we have to create it as such.
64688783