summaryrefslogtreecommitdiff
path: root/src/include/cursor.i
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2015-11-26 16:16:18 +1100
committerMichael Cahill <michael.cahill@mongodb.com>2015-11-26 16:16:18 +1100
commit8fe7bb1eceae210d0a9a9166ccfeb835a022a7f0 (patch)
tree592cdf818820f6b5b77aae6677e345e63bbd86b7 /src/include/cursor.i
parent3f306ce74f9dc72c1abc372ec0cc2bedfe96c317 (diff)
downloadmongo-8fe7bb1eceae210d0a9a9166ccfeb835a022a7f0.tar.gz
WT-2243 Only clear btree cursor flags associated with position.
Previously, we were clearing the new "no transaction" flag every time a cursor was repositioned.
Diffstat (limited to 'src/include/cursor.i')
-rw-r--r--src/include/cursor.i6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/include/cursor.i b/src/include/cursor.i
index e5618ccdb01..18581e6b805 100644
--- a/src/include/cursor.i
+++ b/src/include/cursor.i
@@ -41,11 +41,7 @@ __cursor_pos_clear(WT_CURSOR_BTREE *cbt)
cbt->cip_saved = NULL;
cbt->rip_saved = NULL;
- /*
- * Don't clear the active flag, it's owned by the cursor enter/leave
- * functions.
- */
- F_CLR(cbt, ~WT_CBT_ACTIVE);
+ F_CLR(cbt, WT_CBT_POSITION_MASK);
}
/*