File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4084,12 +4084,12 @@ inline void add_to_active_threads(THD *thd)
4084
4084
/*
4085
4085
This should be called when you want to delete a thd that was not
4086
4086
running any queries.
4087
- This function will assert if the THD was not linked.
4087
+ This function will assert that the THD is linked.
4088
4088
*/
4089
4089
4090
4090
inline void unlink_not_visible_thd (THD *thd)
4091
4091
{
4092
- thd->assert_if_linked ();
4092
+ thd->assert_linked ();
4093
4093
mysql_mutex_lock (&LOCK_thread_count);
4094
4094
thd->unlink ();
4095
4095
mysql_mutex_unlock (&LOCK_thread_count);
Original file line number Diff line number Diff line change @@ -660,7 +660,7 @@ struct ilink
660
660
if (next) next->prev =prev;
661
661
prev=0 ; next=0 ;
662
662
}
663
- inline void assert_if_linked ()
663
+ inline void assert_linked ()
664
664
{
665
665
DBUG_ASSERT (prev != 0 && next != 0 );
666
666
}
You can’t perform that action at this time.
0 commit comments