diff options
author | monty@mysql.com <> | 2004-02-16 10:15:52 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2004-02-16 10:15:52 +0200 |
commit | d1d48a9dd5e3a6ff3d5aadf9234d66777216b682 (patch) | |
tree | f9bef14abcf4ef1e6145cb3c16e63c9a56e221e9 /sql/log_event.h | |
parent | f43093ec0e1ca391f0cdde589418d19c4b82241a (diff) | |
parent | 4aafb1ef3d9387c1ec10efdf69e47bdceb6f083c (diff) | |
download | mariadb-git-d1d48a9dd5e3a6ff3d5aadf9234d66777216b682.tar.gz |
Merge with 4.0 to get fix for mysqlbinlog
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/log_event.h b/sql/log_event.h index 1a5f0543766..28d1f44df92 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -885,6 +885,7 @@ protected: bool fake_base; public: char* block; + const char *event_buf; uint block_len; uint file_id; bool inited_from_old; @@ -906,7 +907,10 @@ public: #endif Create_file_log_event(const char* buf, int event_len, bool old_format); - ~Create_file_log_event() {} + ~Create_file_log_event() + { + my_free((char*) event_buf, MYF(MY_ALLOW_ZERO_PTR)); + } Log_event_type get_type_code() { |