diff options
author | monty@mysql.com <> | 2004-02-11 00:06:46 +0100 |
---|---|---|
committer | monty@mysql.com <> | 2004-02-11 00:06:46 +0100 |
commit | ce145789092b294a562f565671478ae2bf51d14a (patch) | |
tree | 927515d304bd661aebdb0e534418caf49d322ada /sql/log_event.h | |
parent | 0c6a0b9a3118948efeedefd036d2994982babd08 (diff) | |
parent | efb134f3a874befe4ab1779f597ada09f57ca191 (diff) | |
download | mariadb-git-ce145789092b294a562f565671478ae2bf51d14a.tar.gz |
Merge with 4.0.18
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/log_event.h b/sql/log_event.h index d615c0e361b..1a5f0543766 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -564,17 +564,19 @@ public: const char* fname; uint32 skip_lines; sql_ex_info sql_ex; + bool local_fname; /* 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; + local_fname= true; } /* 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; + return local_fname; } #ifndef MYSQL_CLIENT |