Commit a2cca076 authored by monty@mysql.com's avatar monty@mysql.com

Ensure that new connections are in state SLEEP (for nicer show processlist)

parent 1e424ecb
...@@ -1028,6 +1028,7 @@ pthread_handler_decl(handle_one_connection,arg) ...@@ -1028,6 +1028,7 @@ pthread_handler_decl(handle_one_connection,arg)
thd->version= refresh_version; thd->version= refresh_version;
thd->proc_info= 0; thd->proc_info= 0;
thd->command= COM_SLEEP;
thd->set_time(); thd->set_time();
thd->init_for_queries(); thd->init_for_queries();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment