summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/cursor/cur_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/cursor/cur_file.c')
-rw-r--r--src/third_party/wiredtiger/src/cursor/cur_file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/cursor/cur_file.c b/src/third_party/wiredtiger/src/cursor/cur_file.c
index 9eeb0ec0fbe..20cc8145c48 100644
--- a/src/third_party/wiredtiger/src/cursor/cur_file.c
+++ b/src/third_party/wiredtiger/src/cursor/cur_file.c
@@ -1153,6 +1153,9 @@ __wt_curfile_open(WT_SESSION_IMPL *session, const char *uri, WT_CURSOR *owner, c
* history store. (This is not normally done by applications; but it is done by a couple tests,
* and furthermore any internally opened history store cursors come through here, so this case
* does matter.)
+ *
+ * This initialization is repeated when opening the underlying data handle, which is ugly, but
+ * cleanup requires the initialization have happened even if not opening a checkpoint handle.
*/
ckpt_snapshot.ckpt_id = 0;
ckpt_snapshot.oldest_ts = WT_TS_NONE;