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 1
1
/*
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.
3
3
4
4
This program is free software; you can redistribute it and/or modify
5
5
it under the terms of the GNU General Public License as published by
@@ -374,15 +374,13 @@ void thd_binlog_pos(const THD *thd,
374
374
375
375
thd_new_connection_setup
376
376
377
- @note Must be called with LOCK_thread_count locked.
378
-
379
377
@param thd THD object
380
378
@param stack_start Start of stack for connection
381
379
*/
382
380
void thd_new_connection_setup (THD *thd, char *stack_start)
383
381
{
384
382
DBUG_ENTER (" thd_new_connection_setup" );
385
- mysql_mutex_assert_owner (&LOCK_thread_count);
383
+ mysql_mutex_lock (&LOCK_thread_count);
386
384
#ifdef HAVE_PSI_INTERFACE
387
385
thd_set_psi (thd,
388
386
PSI_THREAD_CALL (new_thread)
You can’t perform that action at this time.
0 commit comments