mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Fix for bug#22397 Events: crash with procedure which alters events
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.
This commit is contained in:
@@ -353,7 +353,7 @@ Event_parse_data::init_interval(THD *thd)
|
||||
DBUG_RETURN(0);
|
||||
|
||||
wrong_value:
|
||||
report_bad_value("INTERVAL", item_execute_at);
|
||||
report_bad_value("INTERVAL", item_expression);
|
||||
DBUG_RETURN(ER_WRONG_VALUE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user