summaryrefslogtreecommitdiff
path: root/src/os_win/os_fallocate.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2016-03-25 08:19:12 +1100
committerMichael Cahill <michael.cahill@mongodb.com>2016-03-25 08:19:12 +1100
commit43e885a0f9a3ad046eae1726b005ca1280624be3 (patch)
treef03d31a7b36c476484f26ea5259777aeb7b13201 /src/os_win/os_fallocate.c
parent5cdd3e320cb19cd54111c2572a3d6e33d3009ad4 (diff)
parent9cf8eb2f15c6df7da90c19c86ccf7516ed126183 (diff)
downloadmongo-26e03281a42dc78fa9cc24535cd8e589eea9a5ad.tar.gz
Merge branch 'mongodb-3.4' into mongodb-3.2mongodb-3.2.5
Diffstat (limited to 'src/os_win/os_fallocate.c')
-rw-r--r--src/os_win/os_fallocate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os_win/os_fallocate.c b/src/os_win/os_fallocate.c
index cdc7a1c46ee..a324687ca73 100644
--- a/src/os_win/os_fallocate.c
+++ b/src/os_win/os_fallocate.c
@@ -35,6 +35,7 @@ int
__wt_fallocate(
WT_SESSION_IMPL *session, WT_FH *fh, wt_off_t offset, wt_off_t len)
{
+ WT_ASSERT(session, !F_ISSET(S2C(session), WT_CONN_READONLY));
WT_UNUSED(session);
WT_UNUSED(fh);
WT_UNUSED(offset);