summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/wiredtiger.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/include/wiredtiger.in')
-rw-r--r--src/third_party/wiredtiger/src/include/wiredtiger.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/include/wiredtiger.in b/src/third_party/wiredtiger/src/include/wiredtiger.in
index 45c0c7f0500..b9d33094ad6 100644
--- a/src/third_party/wiredtiger/src/include/wiredtiger.in
+++ b/src/third_party/wiredtiger/src/include/wiredtiger.in
@@ -1942,6 +1942,17 @@ struct __wt_session {
#ifndef DOXYGEN
/*!
+ * Optionally returns the reason for the most recent rollback error returned from the API.
+ *
+ * There is no guarantee a rollback reason will be set and thus the caller
+ * must check for a NULL pointer.
+ *
+ * @param session the session handle
+ * @returns an optional string indicating the reason for the rollback
+ */
+ const char * __F(get_rollback_reason)(WT_SESSION *session);
+
+ /*!
* Call into the library.
*
* This method is used for breakpoints and to set other configuration