Fixups for env_copy with large files
authorHoward Chu <hyc@symas.com>
Sat, 2 Jan 2016 12:19:42 +0000 (12:19 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 2 Jan 2016 12:31:49 +0000 (12:31 +0000)
commit5db0b54ca127eda9777771b3a5e3c956491e7660
treeb7549613df6b77e94d51ed2236c5ea7c2b3c08c8
parent53f624bff0d7d08b64b48ab0c6683f4145b9bcac
Fixups for env_copy with large files

wsize was being truncated to 32bits on Windows.
Only try to write 1GB at a time on Windows64;
larger writes fail with ERROR_WORKING_SET_QUOTA.
libraries/liblmdb/mdb.c