diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/session/session_api.c')
-rw-r--r-- | src/third_party/wiredtiger/src/session/session_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/src/session/session_api.c b/src/third_party/wiredtiger/src/session/session_api.c index c66963875ae..8adaee16387 100644 --- a/src/third_party/wiredtiger/src/session/session_api.c +++ b/src/third_party/wiredtiger/src/session/session_api.c @@ -1797,7 +1797,7 @@ __session_timestamp_transaction(WT_SESSION *wt_session, const char *config) cfg[1] = config; #endif - ret = __wt_txn_set_timestamp(session, cfg); + ret = __wt_txn_set_timestamp(session, cfg, false); err: API_END_RET(session, ret); } @@ -1851,7 +1851,7 @@ __session_reset_snapshot(WT_SESSION *wt_session) session = (WT_SESSION_IMPL *)wt_session; txn = session->txn; - /* Return error if the isolation mode is read committed. */ + /* Return error if the isolation mode is not snapshot. */ if (txn->isolation != WT_ISO_SNAPSHOT) WT_RET_MSG( session, ENOTSUP, "not supported in read-committed or read-uncommitted transactions"); |