Skip to content

Commit

Permalink
MDEV-27936 hardware lock elision on ppc64{,le} failing to compile
Browse files Browse the repository at this point in the history
Cannot have a function trx_has_lock_x hot and cold.
  • Loading branch information
grooverdan committed Mar 10, 2022
1 parent e8fc62b commit 36a19f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/innobase/trx/trx0rec.cc
Expand Up @@ -1951,7 +1951,7 @@ dberr_t trx_undo_report_rename(trx_t* trx, const dict_table_t* table)
return err;
}

TRANSACTIONAL_TARGET ATTRIBUTE_COLD ATTRIBUTE_NOINLINE
TRANSACTIONAL_TARGET ATTRIBUTE_NOINLINE
/** @return whether the transaction holds an exclusive lock on a table */
static bool trx_has_lock_x(const trx_t &trx, dict_table_t& table)
{
Expand Down

0 comments on commit 36a19f9

Please sign in to comment.