diff options
author | ram@mysql.r18.ru <> | 2003-07-05 01:06:18 +0500 |
---|---|---|
committer | ram@mysql.r18.ru <> | 2003-07-05 01:06:18 +0500 |
commit | 22bce83c1ba7b6860115327a46a6424345515f21 (patch) | |
tree | 0131b4955a232667237d9aa13b0e9f189dbb48e5 /sql/log_event.h | |
parent | 15346c8a6675e5dc57fea1e804e9cba786e6931f (diff) | |
parent | c96c87d51d4e8e2cc0bee27e1c98cfec830d18a5 (diff) | |
download | mariadb-git-22bce83c1ba7b6860115327a46a6424345515f21.tar.gz |
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.r18.ru:/usr/home/ram/work/4.0
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 a55efffa319..0a807bd524d 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -404,6 +404,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; @@ -636,6 +643,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); |