From 9172993e4af899c4d3d306cf9a90be95a76b7368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Sat, 17 Aug 2019 00:16:19 +1000 Subject: [PATCH] Reset gtid_hid at the beginning of every request --- lib/MySQL_Session.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/MySQL_Session.cpp b/lib/MySQL_Session.cpp index 29c8b65c6..254237406 100644 --- a/lib/MySQL_Session.cpp +++ b/lib/MySQL_Session.cpp @@ -198,6 +198,7 @@ void Query_Info::begin(unsigned char *_p, int len, bool mysql_header) { waiting_since = 0; affected_rows=0; rows_sent=0; + sess->gtid_hid=-1; } void Query_Info::end() {