From 548d1c92dd54ffb4e7bd66a58161dc0ff1408de1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Wed, 12 Oct 2016 03:02:35 +0000 Subject: [PATCH] Multiple descriptors in epoll() --- lib/MySQL_Thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MySQL_Thread.cpp b/lib/MySQL_Thread.cpp index 6c40874e7..45baef51f 100644 --- a/lib/MySQL_Thread.cpp +++ b/lib/MySQL_Thread.cpp @@ -2114,7 +2114,7 @@ __run_skip_1a: int epi; int sessindexes[MAXEVENTS]; for (epi=0; epidata.fd; // is not really a fd! But an integer pointer of mysql_sessions + sessindexes[epi]=events[epi].data.fd; // is not really a fd! But an integer pointer of mysql_sessions } qsort(sessindexes, rc, sizeof(int), int_cmp); epi=rc-1;