trx_is_interrupted
Registered by
Stewart Smith
Innobase (ha_innodb.cc)
/******
Determines if the currently running transaction has been interrupted.
@return TRUE if interrupted */
extern "C" UNIV_INTERN
ibool
trx_is_interrupted(
/*===============*/
trx_t* trx) /*!< in: transaction */
{
return(trx && trx->mysql_thd && thd_killed((THD*) trx->mysql_thd));
}
libinnodb (api0misc.c):
ibool
trx_is_interrupted(
/*===============*/
const trx_t* trx) /*!< in: transaction */
{
/* FIXME: Call the appropriate user function. */
return(FALSE);
}
We'll need a callback be able to be registered for this.
Blueprint information
- Status:
- Complete
- Approver:
- Stewart Smith
- Priority:
- Medium
- Drafter:
- Stewart Smith
- Direction:
- Needs approval
- Assignee:
- Stewart Smith
- Definition:
- Approved
- Series goal:
- Accepted for 2.3
- Implementation:
- Implemented
- Milestone target:
- athens
- Started by
- Stewart Smith
- Completed by
- Stewart Smith
Related branches
Related bugs
Sprints
Whiteboard
implemented as part of https:/
(?)