• unknown's avatar
    Fix for bug#22397 Events: crash with procedure which alters events · 6c9400b9
    unknown authored
      
    ALTER EVENT in stored procedure body led to a crash during the
    procedure call. Affected was only ALTER EVENT which changed the
    interval of the event. No problems with AT, STARTS, ENDS and so on.
    
    
    
    mysql-test/r/events_bugs.result:
      fix result
    mysql-test/t/events_bugs.test:
      add test case for bug 22397 : Events, crash with procedure which alters body
    sql/event_data_objects.cc:
      fix copy&paste error in code, which resulted in bug#22397
      Events: crash with procedure which alters body
    6c9400b9
events_bugs.result 12 KB