This service provides a function for plugins to report if a transaction of a given THD should continue or be aborted.
More...
This service provides a function for plugins to report if a transaction of a given THD should continue or be aborted.
Set transaction context, that is, notify the server that for external reasons the ongoing transaction should continue or be aborted.
Implementation of service_transaction_veredict, see.
SYNOPSIS set_transaction_ctx() should be called during RUN_HOOK macro, on which we know that thread is on plugin context and it is before Rpl_transaction_ctx::is_transaction_rollback() check.
See
- Parameters
-
transaction_termination_ctx | Transaction termination context |
- Return values
-