diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-08-27 22:24:16 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-08-27 22:24:16 +1000 |
commit | a31ef5ee5aff1f65065335f7a60772889f1484bd (patch) | |
tree | 003b4858ca2de7aba91aff3e3d49e4b0c830b881 /src/include/txn.i | |
parent | 2b001bf983984be7f2ca78654a2f32f184afba2e (diff) | |
download | mongo-a31ef5ee5aff1f65065335f7a60772889f1484bd.tar.gz |
Don't reset cursors during transaction begin or commit (only on rollback).
Diffstat (limited to 'src/include/txn.i')
-rw-r--r-- | src/include/txn.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/txn.i b/src/include/txn.i index 8f984b14fd9..2a84c518704 100644 --- a/src/include/txn.i +++ b/src/include/txn.i @@ -321,7 +321,7 @@ __wt_txn_read_first(WT_SESSION_IMPL *session) if (txn->isolation == TXN_ISO_READ_COMMITTED || (!F_ISSET(txn, TXN_RUNNING) && txn->isolation == TXN_ISO_SNAPSHOT)) - __wt_txn_refresh(session, WT_TXN_NONE, 1); + __wt_txn_refresh(session, 1, 0); } /* |