mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
rpl.rpl_invoked_features fails sporadically with "Duplicate key error"
The reason was that Event e11 was re-executed before "ALTER EVENT e11 DISABLE" had been executed. Fixed by increasing re-schedule time Other things: - Removed double accounting of 'execution_count'. It was incremented in top->mark_last_executed(thd) that was executed a few lines earlier.
This commit is contained in:
@ -650,7 +650,6 @@ Event_queue::get_top_for_execution_if_time(THD *thd,
|
||||
top->status= Event_parse_data::DISABLED;
|
||||
DBUG_PRINT("info", ("event %s status is %d", top->name.str, top->status));
|
||||
|
||||
top->execution_count++;
|
||||
(*event_name)->dropped= top->dropped;
|
||||
/*
|
||||
Save new values of last_executed timestamp and event status on stack
|
||||
|
Reference in New Issue
Block a user