diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/txn')
-rw-r--r-- | src/third_party/wiredtiger/src/txn/txn.c | 8 | ||||
-rw-r--r-- | src/third_party/wiredtiger/src/txn/txn_ext.c | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/src/txn/txn.c b/src/third_party/wiredtiger/src/txn/txn.c index 2449c1ccabe..0469882c08e 100644 --- a/src/third_party/wiredtiger/src/txn/txn.c +++ b/src/third_party/wiredtiger/src/txn/txn.c @@ -1038,7 +1038,7 @@ __wt_txn_commit(WT_SESSION_IMPL *session, const char *cfg[]) * any cached snapshots have to be refreshed. */ if (!readonly) - (void)__wt_gen_next(session, WT_GEN_COMMIT); + WT_IGNORE_RET(__wt_gen_next(session, WT_GEN_COMMIT)); /* First check if we've already committed something in the future. */ if (update_timestamp) { @@ -1067,7 +1067,8 @@ __wt_txn_commit(WT_SESSION_IMPL *session, const char *cfg[]) * because the user's data is committed. */ if (!readonly) - (void)__wt_cache_eviction_check(session, false, false, NULL); + WT_IGNORE_RET( + __wt_cache_eviction_check(session, false, false, NULL)); return (0); err: /* @@ -1301,7 +1302,8 @@ __wt_txn_rollback(WT_SESSION_IMPL *session, const char *cfg[]) * because the user's data is committed. */ if (!readonly) - (void)__wt_cache_eviction_check(session, false, false, NULL); + WT_IGNORE_RET( + __wt_cache_eviction_check(session, false, false, NULL)); return (ret); } diff --git a/src/third_party/wiredtiger/src/txn/txn_ext.c b/src/third_party/wiredtiger/src/txn/txn_ext.c index 324980b2460..1f42ab5eb43 100644 --- a/src/third_party/wiredtiger/src/txn/txn_ext.c +++ b/src/third_party/wiredtiger/src/txn/txn_ext.c @@ -20,7 +20,7 @@ __wt_ext_transaction_id(WT_EXTENSION_API *wt_api, WT_SESSION *wt_session) (void)wt_api; /* Unused parameters */ session = (WT_SESSION_IMPL *)wt_session; /* Ignore failures: the only case is running out of transaction IDs. */ - (void)__wt_txn_id_check(session); + WT_IGNORE_RET(__wt_txn_id_check(session)); return (session->txn.id); } |