From fdd80241298951af28ab97ae1cd6357b42da865d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Mon, 20 May 2019 19:48:09 +1000 Subject: [PATCH] Fix duration on audit log for admin connections --- lib/ProxySQL_Admin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ProxySQL_Admin.cpp b/lib/ProxySQL_Admin.cpp index e3a3c1507..8eb351d19 100644 --- a/lib/ProxySQL_Admin.cpp +++ b/lib/ProxySQL_Admin.cpp @@ -3471,6 +3471,7 @@ void *child_mysql(void *arg) { goto __exit_child_mysql; } } + mysql_thr->curtime = monotonic_time(); myds->revents=fds[0].revents; myds->read_from_net(); if (myds->net_failure) goto __exit_child_mysql;