summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/cursor/cur_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/cursor/cur_stat.c')
-rw-r--r--src/third_party/wiredtiger/src/cursor/cur_stat.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/src/cursor/cur_stat.c b/src/third_party/wiredtiger/src/cursor/cur_stat.c
index 39921e11edc..9cd0ee2c484 100644
--- a/src/third_party/wiredtiger/src/cursor/cur_stat.c
+++ b/src/third_party/wiredtiger/src/cursor/cur_stat.c
@@ -265,7 +265,7 @@ __curstat_reset(WT_CURSOR *cursor)
WT_SESSION_IMPL *session;
cst = (WT_CURSOR_STAT *)cursor;
- CURSOR_API_CALL(cursor, session, reset, NULL);
+ CURSOR_API_CALL_PREPARE_ALLOWED(cursor, session, reset, NULL);
cst->notinitialized = cst->notpositioned = true;
F_CLR(cursor, WT_CURSTD_KEY_SET | WT_CURSTD_VALUE_SET);
@@ -320,7 +320,7 @@ __curstat_close(WT_CURSOR *cursor)
size_t i;
cst = (WT_CURSOR_STAT *)cursor;
- CURSOR_API_CALL(cursor, session, close, NULL);
+ CURSOR_API_CALL_PREPARE_ALLOWED(cursor, session, close, NULL);
if (cst->cfg != NULL) {
for (i = 0; cst->cfg[i] != NULL; ++i)
@@ -581,6 +581,8 @@ __wt_curstat_open(WT_SESSION_IMPL *session,
__wt_cursor_notsup, /* remove */
__wt_cursor_notsup, /* reserve */
__wt_cursor_reconfigure_notsup, /* reconfigure */
+ __wt_cursor_notsup, /* cache */
+ __wt_cursor_reopen_notsup, /* reopen */
__curstat_close); /* close */
WT_CONFIG_ITEM cval, sval;
WT_CURSOR *cursor;