diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 6d90b4eac05..726c4faa7bc 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();