Commit 527b900c authored by unknown's avatar unknown

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

parent 1e927d21
...@@ -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