summaryrefslogtreecommitdiff
path: root/src/include/btree.h
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-05-08 15:02:08 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-05-08 15:02:08 -0400
commit78189106762dcd2684301b3f5d49140056bb295f (patch)
treea629168dd52228ada871eedd835bfb026f954899 /src/include/btree.h
parentb3d9b2e7cdf43c64e479e9f123298ddae022ce7d (diff)
downloadmongo-78189106762dcd2684301b3f5d49140056bb295f.tar.gz
Skip the fast-append key comparison unless we've previously appended
data to the tree.
Diffstat (limited to 'src/include/btree.h')
-rw-r--r--src/include/btree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/btree.h b/src/include/btree.h
index de735340d11..c5142767e22 100644
--- a/src/include/btree.h
+++ b/src/include/btree.h
@@ -71,6 +71,7 @@ struct __wt_btree {
/* Row-store comparison function */
WT_COLLATOR *collator; /* Comparison function */
+ int appending; /* If appending data */
uint32_t id; /* File ID, for logging */