1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fix compile error when building with DBUG, but without DEBUG_SYNC.

This commit is contained in:
unknown
2013-03-01 14:58:19 +01:00
parent 1a998ee239
commit 492c3b09d2
3 changed files with 10 additions and 0 deletions

View File

@@ -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,