1
0
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:
andrey@example.com
2006-09-25 16:49:25 +02:00
parent d993720268
commit db3a25fd78
3 changed files with 33 additions and 1 deletions

View File

@@ -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);
}