summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r--sql/log_event.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index 2f02d1db2c8..b9d802f7927 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -319,7 +319,7 @@ public:
LEX_STRING tmp_str;
if (copy_event_cache_to_string_and_reinit(m_cache, &tmp_str))
exit(1);
- m_ev->output_buf.append(tmp_str.str, tmp_str.length);
+ m_ev->output_buf.append(&tmp_str);
my_free(tmp_str.str);
}
#else /* MySQL_SERVER */