diff options
Diffstat (limited to 'sql/events.cc')
-rw-r--r-- | sql/events.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sql/events.cc b/sql/events.cc index d42a5d7b0a0..7c6b29b7604 100644 --- a/sql/events.cc +++ b/sql/events.cc @@ -1130,23 +1130,6 @@ Events::load_events_from_db(THD *thd) delete et; goto end; } -#ifdef WITH_WSREP - /* - When SST from master node who initials event, the event status is ENABLED - this is problematic because there are two nodes with same events and - both enabled. - */ - if (WSREP(thd) && et->originator != thd->variables.server_id) - { - store_record(table, record[1]); - table->field[ET_FIELD_STATUS]-> - store((longlong) Event_parse_data::SLAVESIDE_DISABLED, - TRUE); - (void) table->file->ha_update_row(table->record[1], table->record[0]); - delete et; - continue; - } -#endif /** Since the Event_queue_element object could be deleted inside Event_queue::create_event we should save the value of dropped flag |