summaryrefslogtreecommitdiff
path: root/src/include/txn.i
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2014-08-27 22:24:16 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2014-08-27 22:24:16 +1000
commita31ef5ee5aff1f65065335f7a60772889f1484bd (patch)
tree003b4858ca2de7aba91aff3e3d49e4b0c830b881 /src/include/txn.i
parent2b001bf983984be7f2ca78654a2f32f184afba2e (diff)
downloadmongo-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.i2
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);
}
/*