From 8486212a24baaa73a22fffbc01e61c6737443b46 Mon Sep 17 00:00:00 2001 From: Mikael Ronstrom Date: Wed, 20 Apr 2011 15:07:19 +0200 Subject: Fixed missing change of thd_unlock_connection_data to thd_unlock_thread_count --- sql/sql_class.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_class.cc') diff --git a/sql/sql_class.cc b/sql/sql_class.cc index dd245d6ccab..026166726b2 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -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); -- cgit v1.2.1