diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2015-03-23 17:12:03 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2015-03-23 17:12:03 +1100 |
commit | 6e690fb2ed3ce1cd0adf889986863a86934aa419 (patch) | |
tree | 19a4913adb885028df3556ce7a2128f18f9165b1 /src | |
parent | f4616895f1ac35aaa50fc1a68e0c6dd9e0cf7717 (diff) | |
download | mongo-6e690fb2ed3ce1cd0adf889986863a86934aa419.tar.gz |
The statistics log server thread includes the database directory in path names.
refs #1785
Diffstat (limited to 'src')
-rw-r--r-- | src/conn/conn_stat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conn/conn_stat.c b/src/conn/conn_stat.c index 7d8c35a2358..af574a41858 100644 --- a/src/conn/conn_stat.c +++ b/src/conn/conn_stat.c @@ -303,7 +303,8 @@ __statlog_log_one(WT_SESSION_IMPL *session, WT_ITEM *path, WT_ITEM *tmp) WT_RET(__wt_fclose(session, &log_file, 1)); if (path != NULL) (void)strcpy(path->mem, tmp->mem); - WT_RET(__wt_fopen(session, tmp->mem, "a", 0, &log_file)); + WT_RET(__wt_fopen( + session, tmp->mem, "a", WT_FOPEN_FIXED, &log_file)); } conn->stat_fp = log_file; |