diff options
Diffstat (limited to 'src/include/api.h')
-rw-r--r-- | src/include/api.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/api.h b/src/include/api.h index 50b2eab83b8..0a4593178dc 100644 --- a/src/include/api.h +++ b/src/include/api.h @@ -66,6 +66,8 @@ else if (ret == 0 && !F_ISSET(&(s)->txn, WT_TXN_ERROR)) \ ret = __wt_txn_commit((s), NULL); \ else { \ + if (retry) \ + WT_TRET(__wt_session_copy_values(s)); \ WT_TRET(__wt_txn_rollback((s), NULL)); \ if ((ret == 0 || ret == WT_ROLLBACK) && \ (retry)) { \ |