Skip to content

Commit ae8f0eb

Browse files
author
Seppo Jaakola
committed
diffed in the fix from revision #3937 from lp:codership-mysql/5.6
1 parent 9b16346 commit ae8f0eb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

storage/innobase/srv/srv0conc.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,12 +516,11 @@ srv_conc_enter_innodb_without_atomics(
516516
#ifdef WITH_WSREP
517517
if (wsrep_on(trx->mysql_thd) &&
518518
wsrep_trx_is_aborting(trx->mysql_thd)) {
519-
srv_conc_n_waiting_threads--;
520519
os_fast_mutex_unlock(&srv_conc_mutex);
521520
if (wsrep_debug)
522521
fprintf(stderr, "srv_conc_enter due to MUST_ABORT");
523522
trx->declared_to_be_inside_innodb = TRUE;
524-
trx->n_tickets_to_enter_innodb = SRV_FREE_TICKETS_TO_ENTER;
523+
trx->n_tickets_to_enter_innodb = srv_n_free_tickets_to_enter;
525524
return;
526525
}
527526
trx->wsrep_event = slot->event;

0 commit comments

Comments
 (0)