Commit e5e0e519 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-24600 fixup: Remove unused trx_register_for_2pc()

parent 10d544aa
...@@ -2384,18 +2384,6 @@ trx_is_registered_for_2pc( ...@@ -2384,18 +2384,6 @@ trx_is_registered_for_2pc(
return(trx->is_registered == 1); 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. */ Note that a transaction has been deregistered. */
static inline static inline
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment