summaryrefslogtreecommitdiff
path: root/src/include/os.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2014-10-13 16:40:05 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-10-13 19:59:50 -0400
commit1dab5e53656560e55a15f8e0daf53fb907c8d791 (patch)
tree415e44aac6775eef435ce82cccd5b5c0e6da2f1d /src/include/os.h
parentcf81ea32991024343427414558f00ce517d10269 (diff)
downloadmongo-1dab5e53656560e55a15f8e0daf53fb907c8d791.tar.gz
Use a separate file handle for file truncation & allocation
Diffstat (limited to 'src/include/os.h')
-rw-r--r--src/include/os.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/os.h b/src/include/os.h
index ceb4c8bb7ca..a15ec56e919 100644
--- a/src/include/os.h
+++ b/src/include/os.h
@@ -52,6 +52,8 @@ struct __wt_fh {
int fd; /* POSIX file handle */
#else
HANDLE filehandle; /* Windows file handle */
+ HANDLE filehandletrunc; /* Windows file handle
+ for truncation */
#endif
wt_off_t size; /* File size */
wt_off_t extend_size; /* File extended size */