File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11/*
2- Copyright (c) 2000, 2016 , Oracle and/or its affiliates. All rights reserved.
2+ Copyright (c) 2000, 2017 , Oracle and/or its affiliates. All rights reserved.
33
44 This program is free software; you can redistribute it and/or modify
55 it under the terms of the GNU General Public License as published by
@@ -374,15 +374,13 @@ void thd_binlog_pos(const THD *thd,
374374
375375 thd_new_connection_setup
376376
377- @note Must be called with LOCK_thread_count locked.
378-
379377 @param thd THD object
380378 @param stack_start Start of stack for connection
381379*/
382380void thd_new_connection_setup (THD *thd, char *stack_start)
383381{
384382 DBUG_ENTER (" thd_new_connection_setup" );
385- mysql_mutex_assert_owner (&LOCK_thread_count);
383+ mysql_mutex_lock (&LOCK_thread_count);
386384#ifdef HAVE_PSI_INTERFACE
387385 thd_set_psi (thd,
388386 PSI_THREAD_CALL (new_thread)
You can’t perform that action at this time.
0 commit comments