diff options
author | Michael Cahill <michael.cahill@mongodb.com> | 2016-04-12 22:09:10 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2016-04-12 22:09:10 +1000 |
commit | d3378e35c6eb10a7d93e2a4b3a459f690e52f8a0 (patch) | |
tree | 115ed3cdc5a0e58489091bdfd95109d11db22d2e /src/include/connection.h | |
parent | 6f22861c17123f43c9ae743b786adcf254bc026e (diff) | |
download | mongo-d3378e35c6eb10a7d93e2a4b3a459f690e52f8a0.tar.gz |
WT-2539 Make streams a separate handle type from files.
Initial commit, doesn't yet handle buffering.
Diffstat (limited to 'src/include/connection.h')
-rw-r--r-- | src/include/connection.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/connection.h b/src/include/connection.h index c2b1dd68c18..5023fb1872a 100644 --- a/src/include/connection.h +++ b/src/include/connection.h @@ -333,7 +333,7 @@ struct __wt_connection_impl { bool stat_tid_set; /* Statistics log thread set */ WT_CONDVAR *stat_cond; /* Statistics log wait mutex */ const char *stat_format; /* Statistics log timestamp format */ - WT_FH *stat_fh; /* Statistics log file handle */ + WT_FSTREAM *stat_fs; /* Statistics log stream */ char *stat_path; /* Statistics log path format */ char **stat_sources; /* Statistics log list of objects */ const char *stat_stamp; /* Statistics log entry timestamp */ @@ -425,7 +425,7 @@ struct __wt_connection_impl { #define WT_STDERR(s) (&S2C(s)->wt_stderr) #define WT_STDOUT(s) (&S2C(s)->wt_stdout) - WT_FH wt_stderr, wt_stdout; + WT_FSTREAM wt_stderr, wt_stdout; /* * OS library/system call jump table, to support in-memory and readonly @@ -438,7 +438,7 @@ struct __wt_connection_impl { int (*file_remove)(WT_SESSION_IMPL *, const char *); int (*file_rename)(WT_SESSION_IMPL *, const char *, const char *); int (*file_size)(WT_SESSION_IMPL *, const char *, bool, wt_off_t *); - int (*handle_open)(WT_SESSION_IMPL *, + int (*file_open)(WT_SESSION_IMPL *, WT_FH *, const char *, uint32_t, uint32_t); uint32_t flags; |