memset(events,0,sizeof(structepoll_event)*MY_EPOLL_THREAD_MAXEVENTS);// let's make valgrind happy. It also seems that needs to be zeroed anyway
@ -2906,9 +2907,9 @@ __run_skip_1a:
}else{
#endif // IDLE_THREADS
//this is the only portion of code not protected by a global mutex
proxy_debug(PROXY_DEBUG_NET,5,"Calling poll with timeout %d\n",(mypolls.poll_timeout?(mypolls.poll_timeout/1000>(unsignedint)mysql_thread___poll_timeout?mypolls.poll_timeout/1000:mysql_thread___poll_timeout):mysql_thread___poll_timeout));
proxy_debug(PROXY_DEBUG_NET,5,"Calling poll with timeout %d\n",ttw);
// poll is called with a timeout of mypolls.poll_timeout if set , or mysql_thread___poll_timeout