File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2008,7 +2008,7 @@ has_higher_priority(
2008
2008
return true ;
2009
2009
}
2010
2010
// Ask the upper server layer if any of the two trx should be prefered.
2011
- int preference = thd_deadlock_victim_preference (lock1->thd , lock2->thd );
2011
+ int preference = thd_deadlock_victim_preference (lock1->trx -> mysql_thd , lock2->trx -> mysql_thd );
2012
2012
if (preference == -1 ) {
2013
2013
// lock1 is preferred as a victim, so lock2 has higher priority
2014
2014
return false ;
Original file line number Diff line number Diff line change @@ -2031,7 +2031,7 @@ has_higher_priority(
2031
2031
return true ;
2032
2032
}
2033
2033
// Ask the upper server layer if any of the two trx should be prefered.
2034
- int preference = thd_deadlock_victim_preference (lock1->thd , lock2->thd );
2034
+ int preference = thd_deadlock_victim_preference (lock1->trx -> mysql_thd , lock2->trx -> mysql_thd );
2035
2035
if (preference == -1 ) {
2036
2036
// lock1 is preferred as a victim, so lock2 has higher priority
2037
2037
return false ;
You can’t perform that action at this time.
0 commit comments