diff options
author | unknown <cmiller@zippy.cornsilk.net> | 2006-11-02 18:27:52 -0500 |
---|---|---|
committer | unknown <cmiller@zippy.cornsilk.net> | 2006-11-02 18:27:52 -0500 |
commit | 65e3646258bb2700d1c0e70af343a9c8c5c160be (patch) | |
tree | fa8005084be1c331a61237fea5274219548a0156 /mysys | |
parent | e1a722b2d3a428c650bf08527b8c9ed9bdbd3e08 (diff) | |
download | mariadb-git-65e3646258bb2700d1c0e70af343a9c8c5c160be.tar.gz |
Fix merge collision.
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/mf_iocache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mysys/mf_iocache.c b/mysys/mf_iocache.c index 109d9fabda3..b17df3da260 100644 --- a/mysys/mf_iocache.c +++ b/mysys/mf_iocache.c @@ -963,13 +963,13 @@ int _my_b_read_r(register IO_CACHE *cache, byte *Buffer, uint Count) "seek_not_done" to indicate this to other functions operating on the IO_CACHE. */ - if (info->seek_not_done) + if (cache->seek_not_done) { - if (my_seek(info->file,pos_in_file,MY_SEEK_SET,MYF(0)) + if (my_seek(cache->file,pos_in_file,MY_SEEK_SET,MYF(0)) == MY_FILEPOS_ERROR) { - info->error= -1; - unlock_io_cache(info); + cache->error= -1; + unlock_io_cache(cache); DBUG_RETURN(1); } } |