From 7c2d154e76b8c7a3a677189303113201b6b011f0 Mon Sep 17 00:00:00 2001 From: "konstantin@mysql.com" <> Date: Wed, 23 Mar 2005 23:39:20 +0300 Subject: [PATCH] Fix a valgrind warning spotted while trying to repeat Bug#7166 "Server crashes when running out of connections" --- sql/sql_class.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 5fb91d9c1a4..cf7240e4dba 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -193,6 +193,7 @@ THD::THD() variables.pseudo_thread_id= 0; one_shot_set= 0; file_id = 0; + query_id= 0; warn_id= 0; db_charset= global_system_variables.collation_database; bzero(ha_data, sizeof(ha_data));