diff options
-rw-r--r-- | sql/sql_class.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |