diff options
author | Monty <monty@mariadb.org> | 2017-12-29 13:22:34 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2017-12-29 13:38:55 +0200 |
commit | afbb72b3b6988f4c5242d46588754517724b2950 (patch) | |
tree | 7a437137688a9c0b64f54b767a8a6fd2d56c17bf /client | |
parent | e64184134a19579dbe5bf98fc54f0f6236aabbcd (diff) | |
download | mariadb-git-afbb72b3b6988f4c5242d46588754517724b2950.tar.gz |
Made IO_CACHE safe for reading big blocks (> 2G)
The reason for adding this was that while testing mysqlbinlog on
a replication event with 3G event output, Linux failed reading
the whole file in memory with one read (only got 2G on first read
even if file had just been written).
- Don't reset info->error on write error in IO_CACHE.
- In case of write_error in IO_CACHE , always return -1
- Fixed wrong result from my_read when using MY_FULL_IO. Also don't give
an error in case of retry.
Diffstat (limited to 'client')
0 files changed, 0 insertions, 0 deletions