• andrey@lmy004.'s avatar
    WL#3337 (Event scheduler new architecture) · 4e0a752f
    andrey@lmy004. authored
    Third cut to simplify parsing phase. Now DROP EVENT works.
    
    Overloaded few functions to be able to use either sp_name or pass two LEX_STRINGs
    instead of a Event_timed pointer. This is transitional and eventually the old
    functions will be removed. For now DROP EVENT also works, does not need anymore
    a parsing object (Event_timed) and definer initialization because everyone who
    has EVENT_ACL can drop events, and this is checked on execution time in sql_parse.cc
    from the security context, as it should be.
    4e0a752f
event_scheduler.cc 72.5 KB