summaryrefslogtreecommitdiff
path: root/sql/sql_repl.cc
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2013-03-01 14:58:19 +0100
committerunknown <knielsen@knielsen-hq.org>2013-03-01 14:58:19 +0100
commit492c3b09d2b3c11ebb043276ff4b245d54d99fd0 (patch)
treed4708d6fb9363c599083034107d01a3155eb41d0 /sql/sql_repl.cc
parent1a998ee23980bac0e7985a66763a4ed044356257 (diff)
downloadmariadb-git-492c3b09d2b3c11ebb043276ff4b245d54d99fd0.tar.gz
Fix compile error when building with DBUG, but without DEBUG_SYNC.
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r--sql/sql_repl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index 57820784b8d..4e5eef14d69 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -897,6 +897,7 @@ impossible position";
event_type=
(Log_event_type)((uchar)(*packet)[LOG_EVENT_OFFSET+ev_offset]);
+#ifdef ENABLED_DEBUG_SYNC
DBUG_EXECUTE_IF("dump_thread_wait_before_send_xid",
{
if (event_type == XID_EVENT)
@@ -915,6 +916,7 @@ impossible position";
STRING_WITH_LEN(act2)));
}
});
+#endif
if (event_type == FORMAT_DESCRIPTION_EVENT)
{
current_checksum_alg= get_checksum_alg(packet->ptr() + ev_offset,