From ae077452fcf80b3ad5e24f438b8f7c7bb2b7fc37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Wed, 26 Mar 2025 16:04:21 +0000 Subject: [PATCH] Removed a redundant and erroneous RequestEnd() Fro error 9001 , RequestEnd() was incorrectly called twice --- lib/MySQL_Session.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/MySQL_Session.cpp b/lib/MySQL_Session.cpp index 038d895d8..888cb05de 100644 --- a/lib/MySQL_Session.cpp +++ b/lib/MySQL_Session.cpp @@ -2815,7 +2815,6 @@ bool MySQL_Session::handler_again___status_CONNECTING_SERVER(int *_rc) { thread->status_variables.stvar[st_var_max_connect_timeout_err]++; } client_myds->myprot.generate_pkt_ERR(true,NULL,NULL,1,9001,(char *)"HY000", errmsg.c_str(), true); - RequestEnd(mybe->server_myds); MyHGM->add_mysql_errors(current_hostgroup, (char *)"", 0, client_myds->myconn->userinfo->username, (client_myds->addr.addr ? client_myds->addr.addr : (char *)"unknown" ), client_myds->myconn->userinfo->schemaname, 9001, (char *)errmsg.c_str()); RequestEnd(mybe->server_myds, 9001, errmsg.c_str());