diff options
author | Susan LoVerso <sue@wiredtiger.com> | 2015-03-23 10:01:23 -0400 |
---|---|---|
committer | Susan LoVerso <sue@wiredtiger.com> | 2015-03-23 10:01:23 -0400 |
commit | ac4d3801a4355bfd9f68d4687772eff75abb95ee (patch) | |
tree | 9a852d7c971753f36c2adb54022fe94a1a8aef67 /src/support/filename.c | |
parent | ce8dd00a5e866c4d9c517a89f5bfc2f6ba7b9302 (diff) | |
download | mongo-ac4d3801a4355bfd9f68d4687772eff75abb95ee.tar.gz |
Add flags to wt_fopen/fclose. #1785
Diffstat (limited to 'src/support/filename.c')
-rw-r--r-- | src/support/filename.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/filename.c b/src/support/filename.c index 6d46422c70e..57fdad61d5a 100644 --- a/src/support/filename.c +++ b/src/support/filename.c @@ -104,7 +104,7 @@ __wt_sync_and_rename_fp( *fpp = NULL; /* Flush to disk and close the handle. */ - WT_RET(__wt_fclose(session, &fp, 1)); + WT_RET(__wt_fclose(session, &fp, WT_FCLOSE_WRITE)); /* Rename the source file to the target. */ WT_RET(__wt_rename(session, from, to)); |