summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/cursor/cur_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/cursor/cur_dump.c')
-rw-r--r--src/third_party/wiredtiger/src/cursor/cur_dump.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/cursor/cur_dump.c b/src/third_party/wiredtiger/src/cursor/cur_dump.c
index bffd997a3ed..46ba23b7e0e 100644
--- a/src/third_party/wiredtiger/src/cursor/cur_dump.c
+++ b/src/third_party/wiredtiger/src/cursor/cur_dump.c
@@ -323,6 +323,19 @@ __curdump_set_value(WT_CURSOR *cursor, ...)
return (child->op(child)); \
}
+/*
+ * __curdump_bound --
+ * WT_CURSOR::bound for dump cursors.
+ */
+static int
+__curdump_bound(WT_CURSOR *cursor, const char *config)
+{
+ WT_CURSOR_DUMP *cdump;
+
+ cdump = (WT_CURSOR_DUMP *)cursor;
+ return (cdump->child->bound(cdump->child, config));
+}
+
WT_CURDUMP_PASS(next)
WT_CURDUMP_PASS(prev)
WT_CURDUMP_PASS(reset)
@@ -397,7 +410,7 @@ __wt_curdump_create(WT_CURSOR *child, WT_CURSOR *owner, WT_CURSOR **cursorp)
__wt_cursor_notsup, /* reserve */
__wt_cursor_config_notsup, /* reconfigure */
__wt_cursor_notsup, /* largest_key */
- __wt_cursor_config_notsup, /* bound */
+ __curdump_bound, /* bound */
__wt_cursor_notsup, /* cache */
__wt_cursor_reopen_notsup, /* reopen */
__wt_cursor_checkpoint_id, /* checkpoint ID */