summaryrefslogtreecommitdiff
path: root/sql/slave.h
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2017-12-29 13:22:34 +0200
committerMonty <monty@mariadb.org>2017-12-29 13:38:55 +0200
commitafbb72b3b6988f4c5242d46588754517724b2950 (patch)
tree7a437137688a9c0b64f54b767a8a6fd2d56c17bf /sql/slave.h
parente64184134a19579dbe5bf98fc54f0f6236aabbcd (diff)
downloadmariadb-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 'sql/slave.h')
0 files changed, 0 insertions, 0 deletions