~michaeleguo/ubuntu/trusty/percona-xtradb-cluster-5.5/arm64fix

« back to all changes in this revision

Viewing changes to mysys/thr_lock.c

  • Committer: Package Import Robot
  • Author(s): Rafael David Tinoco
  • Date: 2016-07-16 20:24:11 UTC
  • mfrom: (5.1.1 trusty-security)
  • Revision ID: package-import@ubuntu.com-20160716202411-wqt0uhix3mzbyhr6
Tags: 5.5.37-25.10+dfsg-0ubuntu0.14.04.2
d/p/fix_tc_log_initlization_on_ppc64.patch: Fix log-tc-size for bigger
page sizes to fix crash on ppc64el (LP: #1570678)

Show diffs side-by-side

added added

removed removed

Lines of Context:
580
580
{
581
581
  if (wsrep_on(data->owner->mysql_thd) &&
582
582
      wsrep_thd_is_brute_force          &&
583
 
      wsrep_thd_is_brute_force(data->owner->mysql_thd))
 
583
      wsrep_thd_is_brute_force(data->owner->mysql_thd, TRUE))
584
584
  {
585
585
    THR_LOCK_DATA *holder;
586
586
 
605
605
         holder; 
606
606
         holder=holder->next) 
607
607
    {
608
 
      if (!wsrep_thd_is_brute_force(holder->owner->mysql_thd))
 
608
      if (!wsrep_thd_is_brute_force(holder->owner->mysql_thd, TRUE))
609
609
      {
610
610
        wsrep_abort_thd(data->owner->mysql_thd, 
611
611
                        holder->owner->mysql_thd, FALSE);
621
621
         holder; 
622
622
         holder=holder->next) 
623
623
    {
624
 
      if (!wsrep_thd_is_brute_force(holder->owner->mysql_thd))
 
624
      if (!wsrep_thd_is_brute_force(holder->owner->mysql_thd, TRUE))
625
625
      {
626
626
        wsrep_abort_thd(data->owner->mysql_thd,
627
627
                        holder->owner->mysql_thd, FALSE);