Replaced mysql_thread___poll_timeout with pgsql_thread___poll_timeout

v2.x_pg_PrepStmtBase_240714
Rahim Kanji 2 years ago
parent 6890c40f8b
commit 6fe2861c2b

@ -2980,7 +2980,7 @@ void PgSQL_Thread::run() {
GloPgSQL_Logger->flush();
pre_poll_time = curtime;
int ttw = (mypolls.poll_timeout ? (mypolls.poll_timeout / 1000 < (unsigned int)pgsql_thread___poll_timeout ? mypolls.poll_timeout / 1000 : mysql_thread___poll_timeout) : mysql_thread___poll_timeout);
int ttw = (mypolls.poll_timeout ? (mypolls.poll_timeout / 1000 < (unsigned int)pgsql_thread___poll_timeout ? mypolls.poll_timeout / 1000 : pgsql_thread___poll_timeout) : pgsql_thread___poll_timeout);
#ifdef IDLE_THREADS
if (GloVars.global.idle_threads && idle_maintenance_thread) {
memset(events, 0, sizeof(struct epoll_event) * MY_EPOLL_THREAD_MAXEVENTS); // let's make valgrind happy. It also seems that needs to be zeroed anyway

Loading…
Cancel
Save