summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2002-01-24 22:51:09 -0700
committerunknown <sasha@mysql.sashanet.com>2002-01-24 22:51:09 -0700
commitaa166cbd983d28e31e23c096ca360a641de98c00 (patch)
treece034d579243c79fe0eaa4119c5e3bed07ac0706 /include
parentadb110bec28dde46b7d21e620c5512113281653d (diff)
parentde172721edc0d619f12ea9769373fa0d7fcfbeb5 (diff)
downloadmariadb-git-aa166cbd983d28e31e23c096ca360a641de98c00.tar.gz
Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/reiser-data/mysql-4.0
Diffstat (limited to 'include')
-rw-r--r--include/my_sys.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index f899e4f9324..1d7c0b7ddb1 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -643,7 +643,10 @@ extern int _my_b_write(IO_CACHE *info,const byte *Buffer,uint Count);
extern int my_b_append(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);
+extern int _flush_io_cache(IO_CACHE *info, int need_append_buffer_lock);
+
+#define flush_io_cache(info) _flush_io_cache((info),1)
+
extern int end_io_cache(IO_CACHE *info);
extern uint my_b_fill(IO_CACHE *info);
extern void my_b_seek(IO_CACHE *info,my_off_t pos);