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 /mysys/mf_iocache.c | |
parent | 73780de1292f24d7749045b0e03adbfbaf4df9cd (diff) | |
download | mariadb-git-4ee44751d9ebcca3aa0f6c1f97f732abd7311810.tar.gz |
Fixed memory leak in DROP DATABASE when using RAID tables (Bug #2882)
Diffstat (limited to 'mysys/mf_iocache.c')
-rw-r--r-- | mysys/mf_iocache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/mf_iocache.c b/mysys/mf_iocache.c index d96d4c0db3c..c5bd7db9677 100644 --- a/mysys/mf_iocache.c +++ b/mysys/mf_iocache.c @@ -962,7 +962,7 @@ int my_b_append(register IO_CACHE *info, const byte *Buffer, uint Count) Buffer+=rest_length; Count-=rest_length; info->write_pos+=rest_length; - if (_flush_io_cache(info,0)) + if (my_b_flush_io_cache(info,0)) { unlock_append_buffer(info); return 1; @@ -1069,12 +1069,12 @@ int my_block_write(register IO_CACHE *info, const byte *Buffer, uint Count, #endif -int _flush_io_cache(IO_CACHE *info, int need_append_buffer_lock) +int my_b_flush_io_cache(IO_CACHE *info, int need_append_buffer_lock) { uint length; my_bool append_cache; my_off_t pos_in_file; - DBUG_ENTER("_flush_io_cache"); + DBUG_ENTER("my_b_flush_io_cache"); if (!(append_cache = (info->type == SEQ_READ_APPEND))) need_append_buffer_lock=0; |