diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-10-20 14:56:45 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2015-10-20 14:56:45 -0400 |
commit | 5eef7e4b84ce405ce033fab03b8b9a7c6b89437d (patch) | |
tree | 9904551434bda8926bd7777ac606fa19760fb5dd /src/cursor/cur_metadata.c | |
parent | f0b4417c908593d05eb352652187656aa2205aa1 (diff) | |
download | mongo-5eef7e4b84ce405ce033fab03b8b9a7c6b89437d.tar.gz |
WT-2073, document we're not using the cached session metadata cursor
for an external metadata cursor.
Diffstat (limited to 'src/cursor/cur_metadata.c')
-rw-r--r-- | src/cursor/cur_metadata.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cursor/cur_metadata.c b/src/cursor/cur_metadata.c index 460c46c0d29..3f7fa2572d2 100644 --- a/src/cursor/cur_metadata.c +++ b/src/cursor/cur_metadata.c @@ -464,7 +464,11 @@ __wt_curmetadata_open(WT_SESSION_IMPL *session, cursor->key_format = "S"; cursor->value_format = "S"; - /* Open the file cursor for operations on the regular metadata */ + /* + * Open the file cursor for operations on the regular metadata; don't + * use the existing, cached session metadata cursor, the configuration + * may not be the same. + */ WT_ERR(__wt_metadata_cursor(session, cfg[1], &mdc->file_cursor)); WT_ERR(__wt_cursor_init(cursor, uri, owner, cfg, cursorp)); |