diff options
author | Michael Cahill <michael.cahill@mongodb.com> | 2017-11-28 16:35:54 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-28 16:35:54 +1100 |
commit | c0ab6fd31c7d3ff3735b17a710365527c8e75098 (patch) | |
tree | ecebb71dee32c4f5a698a0867a1806e6b359f5e6 | |
parent | 42139b18dd8a105d0ccc3882786ae92bcb9a4c18 (diff) | |
download | mongo-c0ab6fd31c7d3ff3735b17a710365527c8e75098.tar.gz |
WT-3763 Disable suffix compression on key with saved updates. (#3814)
-rw-r--r-- | src/reconcile/rec_write.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reconcile/rec_write.c b/src/reconcile/rec_write.c index 18e8df4918c..b69ca00de92 100644 --- a/src/reconcile/rec_write.c +++ b/src/reconcile/rec_write.c @@ -5675,10 +5675,10 @@ __rec_row_leaf_insert(WT_SESSION_IMPL *session, WT_RECONCILE *r, WT_INSERT *ins) session, r, WT_INSERT_KEY_SIZE(ins))); /* - * Turn off prefix compression until a full key is - * written into the new page. + * Turn off prefix and suffix compression until a full + * key is written into the new page. */ - r->key_pfx_compress = false; + r->key_pfx_compress = r->key_sfx_compress = false; continue; } |