diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-06-21 12:38:25 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-06-21 12:38:25 +0300 |
commit | d3e4fae797b9467828c33c89b55a991067e8bcde (patch) | |
tree | 6cf809a7c4d4a41e04c204a1393162d0a4eec59e /mysys | |
parent | 690ae1de45943b549ca792862d6de03fdfb5f923 (diff) | |
parent | e46f76c9749d7758765ba274a212cfc2dcf3eeb8 (diff) | |
download | mariadb-git-d3e4fae797b9467828c33c89b55a991067e8bcde.tar.gz |
Merge 10.3 into 10.4
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/mf_iocache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mysys/mf_iocache.c b/mysys/mf_iocache.c index 559ddbec1ee..06c6fc088c0 100644 --- a/mysys/mf_iocache.c +++ b/mysys/mf_iocache.c @@ -1394,7 +1394,7 @@ static void copy_to_read_buffer(IO_CACHE *write_cache, static int _my_b_seq_read(IO_CACHE *info, uchar *Buffer, size_t Count) { - size_t length, diff_length, left_length= 0, save_count, max_length; + size_t length, diff_length, save_count, max_length; my_off_t pos_in_file; save_count=Count; @@ -1445,7 +1445,6 @@ static int _my_b_seq_read(IO_CACHE *info, uchar *Buffer, size_t Count) */ goto read_append_buffer; } - left_length+=length; diff_length=0; } |