RAII class to control the slave applier execution context binding with a being handled event.
More...
RAII class to control the slave applier execution context binding with a being handled event.
The main object of control is Query-log-event containing DDL statement. The member RLI::current_event is set to refer to an event once it is read, e.g by next_event() and is reset to NULL at exiting a read-exec loop. Once the event is destroyed RLI::current_event must be reset or guaranteed not be accessed anymore. In the MTS execution the worker is reliably associated with an event only with the latter is not deferred. This includes Query-log-event.