From a2cca076171c2960e6e5c7a72778fe4ef0f3a812 Mon Sep 17 00:00:00 2001 From: "monty@mysql.com" <> Date: Fri, 12 Nov 2004 14:38:01 +0200 Subject: [PATCH] Ensure that new connections are in state SLEEP (for nicer show processlist) --- sql/sql_parse.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index a14a3da8391..c680b4e420d 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -1028,6 +1028,7 @@ pthread_handler_decl(handle_one_connection,arg) thd->version= refresh_version; thd->proc_info= 0; + thd->command= COM_SLEEP; thd->set_time(); thd->init_for_queries();