Skip to content
Permalink
Browse files
Add extra mutex check to wsrep_aborting_thd_enqueue
  • Loading branch information
montywi committed Dec 8, 2017
1 parent 68cd543 commit db715ff
Showing 1 changed file with 1 addition and 0 deletions.
@@ -2739,6 +2739,7 @@ my_bool wsrep_aborting_thd_contains(THD *thd)

void wsrep_aborting_thd_enqueue(THD *thd)
{
mysql_mutex_assert_owner(&LOCK_wsrep_rollback);
wsrep_aborting_thd_t aborting = (wsrep_aborting_thd_t)
my_malloc(sizeof(struct wsrep_aborting_thd), MYF(0));
aborting->aborting_thd = thd;

0 comments on commit db715ff

Please sign in to comment.