summaryrefslogtreecommitdiff
path: root/sql/event_data_objects.cc
diff options
context:
space:
mode:
authorKristian Nielsen <knielsen@knielsen-hq.org>2015-05-11 12:47:43 +0200
committerKristian Nielsen <knielsen@knielsen-hq.org>2015-05-11 12:47:43 +0200
commit6e4920164426543082d02cde4c60bd29cbd54f99 (patch)
tree0651edc476183690d52afa5fac83b4d7797a8a38 /sql/event_data_objects.cc
parent8bedb638d7078c007b58bea4196c3749028192b4 (diff)
downloadmariadb-git-6e4920164426543082d02cde4c60bd29cbd54f99.tar.gz
Fix compilation warnings in -DWITH_WSREP=OFF build.
Diffstat (limited to 'sql/event_data_objects.cc')
-rw-r--r--sql/event_data_objects.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/event_data_objects.cc b/sql/event_data_objects.cc
index 3da567ada38..ca8439aa386 100644
--- a/sql/event_data_objects.cc
+++ b/sql/event_data_objects.cc
@@ -1482,7 +1482,9 @@ end:
WSREP_TO_ISOLATION_END;
+#ifdef WITH_WSREP
error:
+#endif
thd->tx_read_only= save_tx_read_only;
thd->security_ctx->master_access= saved_master_access;
}