diff options
| author | sasha@mysql.sashanet.com <> | 2002-01-24 22:49:47 -0700 |
|---|---|---|
| committer | sasha@mysql.sashanet.com <> | 2002-01-24 22:49:47 -0700 |
| commit | 171948ba864eb3822ea80dab3914eaa30887dc77 (patch) | |
| tree | dbd006cf3d35d4daf9ae21af895de3a3261faf0b /include | |
| parent | 90a77b4f06c2d6ebc45f10cc3bc90d9823f58fac (diff) | |
| download | mariadb-git-171948ba864eb3822ea80dab3914eaa30887dc77.tar.gz | |
more predicatable slave behaviour with wait_for_slave_stop in mysqltest
fixed a couple of bugs with SEQ_READ_APPEND cache
rpl000016 still has non-deterministic result, but I am going to commit and
push since what I have is now better than what is in the main repository
Diffstat (limited to 'include')
| -rw-r--r-- | include/my_sys.h | 5 |
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); |
