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();