summaryrefslogtreecommitdiff
path: root/examples/c/ex_all.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/c/ex_all.c')
-rw-r--r--examples/c/ex_all.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/c/ex_all.c b/examples/c/ex_all.c
index 7dce4744db3..672c54fa1f6 100644
--- a/examples/c/ex_all.c
+++ b/examples/c/ex_all.c
@@ -866,6 +866,10 @@ transaction_ops(WT_CONNECTION *conn, WT_SESSION *session)
/*! [set oldest timestamp] */
error_check(conn->set_timestamp(conn, "oldest_timestamp=2a"));
/*! [set oldest timestamp] */
+
+ /*! [rollback to stable] */
+ error_check(conn->rollback_to_stable(conn, ""));
+ /*! [rollback to stable] */
}
/*! [Implement WT_COLLATOR] */