• andrey@lmy004.'s avatar
    Fix for bug #18897 "Events: unauthorized action possible with · e71ef73d
    andrey@lmy004. authored
    alter event rename".
    
    ALTER EVENT ... RENAME statement hasn't checked privileges
    for the target database. It also caused server crashes when
    target database was not specified explicitly and there was
    no current database.
    
    This fix adds missing privilege check and check for the case
    when target database is not specified explicitly or implicitly.
    e71ef73d
events_bugs.test 7.7 KB