summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-09-04 12:28:47 +0200
committerSergei Golubchik <serg@mariadb.org>2015-09-04 12:28:47 +0200
commit096510d02c28a423726bd755885171c42928dc47 (patch)
treee9163f7756a123aa91a071e0a895f436047ac09a /sql
parent7cd3c427da2681b64258d2df5ea6699a1ecb41c8 (diff)
downloadmariadb-git-096510d02c28a423726bd755885171c42928dc47.tar.gz
fix dbug tags
Diffstat (limited to 'sql')
-rw-r--r--sql/log_event.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index 5bdcb8fcbf4..2bc9b6559e0 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -1203,7 +1203,7 @@ err:
int Log_event_writer::write_header(uchar *pos, size_t len)
{
- DBUG_ENTER("write_footer");
+ DBUG_ENTER("Log_event_writer::write_header");
/*
recording checksum of FD event computed with dropped
possibly active LOG_EVENT_BINLOG_IN_USE_F flag.
@@ -1225,7 +1225,7 @@ int Log_event_writer::write_header(uchar *pos, size_t len)
if (encryption_ctx_init(ctx, crypto->key, crypto->key_length,
iv, sizeof(iv), ENCRYPTION_FLAG_ENCRYPT | ENCRYPTION_FLAG_NOPAD,
ENCRYPTION_KEY_SYSTEM_DATA, crypto->key_version))
- return 1;
+ DBUG_RETURN(1);
DBUG_ASSERT(len >= LOG_EVENT_HEADER_LEN);
event_len= uint4korr(pos + EVENT_LEN_OFFSET);
@@ -1234,15 +1234,16 @@ int Log_event_writer::write_header(uchar *pos, size_t len)
pos+= 4;
len-= 4;
}
- return encrypt_and_write(pos, len);
+ DBUG_RETURN(encrypt_and_write(pos, len));
}
int Log_event_writer::write_data(const uchar *pos, size_t len)
{
+ DBUG_ENTER("Log_event_writer::write_data");
if (checksum_len)
crc= my_checksum(crc, pos, len);
- return encrypt_and_write(pos, len);
+ DBUG_RETURN(encrypt_and_write(pos, len));
}
int Log_event_writer::write_footer()