summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-01-15 03:47:06 +0200
committerunknown <monty@mysql.com>2005-01-15 03:47:06 +0200
commitdeac81af88c0bc424126d3a9d3d4aaeca2a6770c (patch)
treec2e1f8b8bfc0be933a4b5fff758d2b2c6366f881 /include
parentd3ad1a919e8f770852ff661e0401be7fc043efaa (diff)
downloadmariadb-git-deac81af88c0bc424126d3a9d3d4aaeca2a6770c.tar.gz
Fixed possible access to unintialized memory in filesort when using many buffers
include/my_sys.h: Added function to call if IO_CACHE is moved mysys/mf_iocache.c: Added function to call if IO_CACHE is moved sql/filesort.cc: Tell that io_cache is moved
Diffstat (limited to 'include')
-rw-r--r--include/my_sys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index 9e43889d0e0..0fdb8d640e7 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -671,6 +671,7 @@ extern int init_io_cache(IO_CACHE *info,File file,uint cachesize,
extern my_bool reinit_io_cache(IO_CACHE *info,enum cache_type type,
my_off_t seek_offset,pbool use_async_io,
pbool clear_cache);
+extern void setup_io_cache(IO_CACHE* info);
extern int _my_b_read(IO_CACHE *info,byte *Buffer,uint Count);
#ifdef THREAD
extern int _my_b_read_r(IO_CACHE *info,byte *Buffer,uint Count);