summaryrefslogtreecommitdiff
path: root/src/btree/bt_curprev.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-05-08 18:46:24 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-05-08 18:46:24 -0400
commit5d9993d12bd2009005235036f8c7cef30f4ade5d (patch)
tree6eec05ab01a345ded5d05efc9f1aef1c4f216ebb /src/btree/bt_curprev.c
parent9d03b7c96c8609453a09b4a3a51ddb5a24450c79 (diff)
downloadmongo-5d9993d12bd2009005235036f8c7cef30f4ade5d.tar.gz
Don't do an append test regardless if searching the tree, but more
importantly, don't clear the "appending" flag for a read operation. This makes no difference in terms of performance, but means we don't let read operations interfere with our understanding of an appending workload.
Diffstat (limited to 'src/btree/bt_curprev.c')
-rw-r--r--src/btree/bt_curprev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/bt_curprev.c b/src/btree/bt_curprev.c
index 43e9c1e3647..2b8e7992918 100644
--- a/src/btree/bt_curprev.c
+++ b/src/btree/bt_curprev.c
@@ -51,7 +51,7 @@ restart:
key.data = WT_INSERT_KEY(current);
key.size = WT_INSERT_KEY_SIZE(current);
WT_RET(__wt_search_insert(
- session, cbt, cbt->ins_head, &key));
+ session, cbt, cbt->ins_head, &key, 0));
} else
cbt->ins = __col_insert_search(cbt->ins_head,
cbt->ins_stack, cbt->next_stack,