diff options
author | Keith Bostic <keith@wiredtiger.com> | 2014-10-17 07:46:30 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2014-10-17 07:46:30 -0400 |
commit | 7590319f16c8ef44431ecc116dfd3c8b69dfcac6 (patch) | |
tree | badc045a50b34b476acca4e1f4ee0d570c660168 /src/include/api.h | |
parent | b063e91fb4ac65c8e24a9387f00f6e13b591b661 (diff) | |
download | mongo-7590319f16c8ef44431ecc116dfd3c8b69dfcac6.tar.gz |
Rename WT_DEADLOCK to WT_ROLLBACK, reference #1204.
Diffstat (limited to 'src/include/api.h')
-rw-r--r-- | src/include/api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/api.h b/src/include/api.h index ec74138bdd1..d6e923e3560 100644 --- a/src/include/api.h +++ b/src/include/api.h @@ -66,7 +66,7 @@ ret = __wt_txn_commit((s), NULL); \ else { \ WT_TRET(__wt_txn_rollback((s), NULL)); \ - if ((ret == 0 || ret == WT_DEADLOCK) && \ + if ((ret == 0 || ret == WT_ROLLBACK) && \ (retry)) { \ ret = 0; \ continue; \ |