Skip to content
  • Thayumanavar S's avatar
    26cf7be6
    BUG#26725206 - EVENTS, CRASH RECVER FAILS WITH CAN'T INIT TC · 26cf7be6
    Thayumanavar S authored
                   LOG, EVENTS
    
    Events that get dropped as part of ON COMPLETION NOT PRESERVE are
    binlogged with a  XID of zero. Events that are dropped as part of
    the event scheduler invocation doesn't have query_id value set.
    XID generation depends on THD::query_id and hence this results in
    xid value of zero.
    
    The fix is to set the THD::query_id for the DROP EVENT sql constructed
    by Event Scheduler..
    26cf7be6
    BUG#26725206 - EVENTS, CRASH RECVER FAILS WITH CAN'T INIT TC
    Thayumanavar S authored
                   LOG, EVENTS
    
    Events that get dropped as part of ON COMPLETION NOT PRESERVE are
    binlogged with a  XID of zero. Events that are dropped as part of
    the event scheduler invocation doesn't have query_id value set.
    XID generation depends on THD::query_id and hence this results in
    xid value of zero.
    
    The fix is to set the THD::query_id for the DROP EVENT sql constructed
    by Event Scheduler..
Loading