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

This commit is contained in:
monty@mysql.com 2004-11-12 14:38:01 +02:00
parent 1e424ecbff
commit a2cca07617

View file

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