summaryrefslogtreecommitdiff
path: root/sql/events.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2014-10-07 11:39:42 +0300
committerMonty <monty@mariadb.org>2014-10-07 11:39:42 +0300
commit4af97bc0e3290461eb872fcfc0fbf51c00c0c6bf (patch)
tree1317948fa25694160448cbdc142699f3365b4c24 /sql/events.cc
parentcc8aed3eb7a671d353c453a255b53e8d91d7fa73 (diff)
downloadmariadb-git-4af97bc0e3290461eb872fcfc0fbf51c00c0c6bf.tar.gz
Removed files that had been accidentally committed
Removed compiler warnings
Diffstat (limited to 'sql/events.cc')
-rw-r--r--sql/events.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/events.cc b/sql/events.cc
index fa40086c1f7..d42a5d7b0a0 100644
--- a/sql/events.cc
+++ b/sql/events.cc
@@ -1131,8 +1131,11 @@ Events::load_events_from_db(THD *thd)
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.
+ /*
+ 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]);