• unknown's avatar
    A fix for Bug#27406 Events: failure only causes a warning. Update test · 7416224c
    unknown authored
    results.
    When executing a CREATE EVENT statement with ON COMPLETION NOT PRESERVE 
    clause (explicit or implicit) and completion date in the past, we do not 
    create the event. Or, put it differently, we create it and then drop 
    immediately.
    A warning is issued in this case, not an error -- we want to load 
    successfully old database dumps, and such dumps may contain events
    that are no longer valid.
    
    Update the warning text to not imply an erroneous condition. 
    
    
    mysql-test/r/events_bugs.result:
      Update the test results (Bug#27406)
    sql/share/errmsg.txt:
      Fix Bug#27406 "Events: failure only causes a warning" -- update the error
      message to not imply that there was a failure.
    7416224c
errmsg.txt 402 KB