Fixed missing change of thd_unlock_connection_data to thd_unlock_thread_count

This commit is contained in:
Mikael Ronstrom 2011-04-20 15:07:19 +02:00
parent 50b5f456c1
commit 8486212a24

View file

@ -359,7 +359,7 @@ void thd_new_connection_setup(THD *thd, char *stack_start)
thd->prior_thr_create_utime= thd->thr_create_utime= thd->start_utime=
my_micro_time();
threads.append(thd);
thd_unlock_connection_data(thd);
thd_unlock_thread_count(thd);
DBUG_PRINT("info", ("init new connection. thd: 0x%lx fd: %d",
(ulong)thd, thd->net.vio->sd));
thd_set_thread_stack(thd, stack_start);