From b546d51d9047a9f5afc57f0bcc5cff1937f93921 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Sun, 7 May 2023 00:19:37 +0000 Subject: [PATCH] Fix uninitialized variable --- lib/MySQL_Logger.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/MySQL_Logger.cpp b/lib/MySQL_Logger.cpp index fe8344362..fc56fce6b 100644 --- a/lib/MySQL_Logger.cpp +++ b/lib/MySQL_Logger.cpp @@ -58,6 +58,7 @@ MySQL_Event::MySQL_Event (log_event_type _et, uint32_t _thread_id, char * _usern affected_rows=0; last_insert_id = 0; have_rows_sent=false; + have_gtid=false; rows_sent=0; client_stmt_id=0; gtid = NULL;