From 3ab56a2b4beab159b53bd4a5a9bb9b1cb7a42994 Mon Sep 17 00:00:00 2001 From: unknown 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();