diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-10-08 18:47:16 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-10-10 22:27:36 +0200 |
commit | 03ec3511a82e90310c850ea71b395b214cab1645 (patch) | |
tree | 65e6b3dea94e4744b5b9a3bfb0f847977ed7d55a /sql/events.cc | |
parent | 8596b70f96fc543c2e1cac4bc8cbe58dcc4004e5 (diff) | |
download | mariadb-git-03ec3511a82e90310c850ea71b395b214cab1645.tar.gz |
cleanup: galera misc cleanups
also disable galera-specific output in mysql_tzinfo_to_sql,
it'll be enabled later.
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 |