diff options
author | vva@eagle.mysql.r18.ru <> | 2003-01-17 21:52:56 +0400 |
---|---|---|
committer | vva@eagle.mysql.r18.ru <> | 2003-01-17 21:52:56 +0400 |
commit | 4b5a313c1a90e7b5d70c5e9dc3ef09f34a386fe4 (patch) | |
tree | 5c508736009769e4b7a02e0ad8475f0b675a02fa /sql/log_event.h | |
parent | abf49f322871f8ec3f2712d17220f388bf0dd564 (diff) | |
download | mariadb-git-4b5a313c1a90e7b5d70c5e9dc3ef09f34a386fe4.tar.gz |
new option --local-load in mysqlbinlog
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/log_event.h b/sql/log_event.h index c4f93c7a9b6..186d3f30f7a 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -445,6 +445,13 @@ public: uint32 skip_lines; sql_ex_info sql_ex; + /* fname doesn't point to memory inside Log_event::temp_buf */ + void set_fname_outside_temp_buf(const char *afname, uint alen) + {fname=afname;fname_len=alen;} + /* fname doesn't point to memory inside Log_event::temp_buf */ + int check_fname_outside_temp_buf() + {return fname<temp_buf || fname>temp_buf+cached_event_len;} + #ifndef MYSQL_CLIENT String field_lens_buf; String fields_buf; @@ -687,6 +694,7 @@ public: int exec_event(struct st_relay_log_info* rli); #else void print(FILE* file, bool short_form = 0, char* last_db = 0); + void print(FILE* file, bool short_form, char* last_db, bool enable_local); #endif Create_file_log_event(const char* buf, int event_len, bool old_format); |