diff options
author | monty@mysql.com <> | 2004-03-10 13:46:11 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2004-03-10 13:46:11 +0200 |
commit | 4ee44751d9ebcca3aa0f6c1f97f732abd7311810 (patch) | |
tree | 458c51d3c1854209d1cbc2d57f876333a083ae53 /include | |
parent | 73780de1292f24d7749045b0e03adbfbaf4df9cd (diff) | |
download | mariadb-git-4ee44751d9ebcca3aa0f6c1f97f732abd7311810.tar.gz |
Fixed memory leak in DROP DATABASE when using RAID tables (Bug #2882)
Diffstat (limited to 'include')
-rw-r--r-- | include/my_sys.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/my_sys.h b/include/my_sys.h index 75e22629a19..8f0040055d6 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -612,7 +612,7 @@ extern void pack_dirname(my_string to,const char *from); extern uint unpack_dirname(my_string to,const char *from); extern uint cleanup_dirname(my_string to,const char *from); extern uint system_filename(my_string to,const char *from); -extern my_string unpack_filename(my_string to,const char *from); +extern uint unpack_filename(my_string to,const char *from); extern my_string intern_filename(my_string to,const char *from); extern my_string directory_file_name(my_string dst, const char *src); extern int pack_filename(my_string to, const char *name, size_s max_length); @@ -682,9 +682,9 @@ extern int my_b_safe_write(IO_CACHE *info,const byte *Buffer,uint Count); extern int my_block_write(IO_CACHE *info, const byte *Buffer, uint Count, my_off_t pos); -extern int _flush_io_cache(IO_CACHE *info, int need_append_buffer_lock); +extern int my_b_flush_io_cache(IO_CACHE *info, int need_append_buffer_lock); -#define flush_io_cache(info) _flush_io_cache((info),1) +#define flush_io_cache(info) my_b_flush_io_cache((info),1) extern int end_io_cache(IO_CACHE *info); extern uint my_b_fill(IO_CACHE *info); |