Skip to content

Commit

Permalink
MDEV-24600 fixup: Remove unused trx_register_for_2pc()
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Mar 5, 2021
1 parent 10d544a commit e5e0e51
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions storage/innobase/handler/ha_innodb.cc
Expand Up @@ -2384,18 +2384,6 @@ trx_is_registered_for_2pc(
return(trx->is_registered == 1);
}

/*********************************************************************//**
Note that a transaction has been registered with MySQL 2PC coordinator. */
static inline
void
trx_register_for_2pc(
/*==================*/
trx_t* trx) /* in: transaction */
{
trx->is_registered = 1;
ut_ad(!trx->active_commit_ordered);
}

/*********************************************************************//**
Note that a transaction has been deregistered. */
static inline
Expand Down

0 comments on commit e5e0e51

Please sign in to comment.