• andrey@lmy004.'s avatar
    WL#3337 (Event scheduler new architecture) · e3d0524b
    andrey@lmy004. authored
    This patch introduces specialized Event data objects
    Event_basic as parent.
    Event_queue_element used for queue storage
    Event_timed used for SHOW EVENTS/ I_S.EVENTS / SHOW CREATE EVENT
    Event_job_data using during execution.
    Methods were moved out of Event_timed to other classes.
    
    This patch also introduces Events::LOCK_event_metadata.
    This patch gives new implementation of Events::dump_internal_status().
    Now both the Event_scheduler and Event_queue return information during
    their ::dump_internal_status().
    
    Shortened a bit the runtime for executing events test cases.
    e3d0524b
event_queue.cc 24 KB