summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-02-13 16:05:09 +0200
committermonty@mysql.com <>2004-02-13 16:05:09 +0200
commitfb8f27f0172d12507f24551624f0f77315ea2763 (patch)
tree0fed6c37f6c17ba97ac09f0dbecdf6846b11a97b /sql/log_event.h
parentdc3f0a21dbe90784ab1b7d367992f1b84717f381 (diff)
downloadmariadb-git-fb8f27f0172d12507f24551624f0f77315ea2763.tar.gz
Always use libtool with "--preserve-dup-deps"
Always use all LOAD DATA options in replication. Fixed problem in mysqlbinlog where LOAD DATA options could be overwritten.
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index b610263a462..2eaaab260fc 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -644,6 +644,7 @@ protected:
bool fake_base;
public:
char* block;
+ const char *event_buf;
uint block_len;
uint file_id;
bool inited_from_old;
@@ -663,7 +664,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()
{