diff options
author | Keith Bostic <keith@wiredtiger.com> | 2014-03-19 13:23:10 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2014-03-19 13:23:10 -0400 |
commit | 12148844cfdc08d10e7a460a585e1c3be1f8d9f7 (patch) | |
tree | 3d69028c1ecbe168163787daeefbcd5d9e3f2fc0 /src/btree/bt_vrfy_dsk.c | |
parent | 681524cf943e3e8294687b6e83104422068039ab (diff) | |
download | mongo-12148844cfdc08d10e7a460a585e1c3be1f8d9f7.tar.gz |
We can't collapse removed key and value overflow items into a single
cell type: the code to find a row-store leaf page key's value has to
be able to distinguish between them because row-store leaf pages don't
store values that don't exist, so two adjacent keys (even removed
overflow keys), imply an empty value.
Diffstat (limited to 'src/btree/bt_vrfy_dsk.c')
-rw-r--r-- | src/btree/bt_vrfy_dsk.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/btree/bt_vrfy_dsk.c b/src/btree/bt_vrfy_dsk.c index ea2f044ccd9..a48f9dbdb47 100644 --- a/src/btree/bt_vrfy_dsk.c +++ b/src/btree/bt_vrfy_dsk.c @@ -698,10 +698,11 @@ __err_cell_type(WT_SESSION_IMPL *session, if (dsk_type == WT_PAGE_ROW_LEAF) return (0); break; - case WT_CELL_OVFL_REMOVE: + case WT_CELL_KEY_OVFL_RM: + case WT_CELL_VALUE_OVFL_RM: /* - * The overflow removed cell is in-memory only, it's an error - * to ever see it on a disk page. + * Removed overflow cells are in-memory only, it's an error to + * ever see one on a disk page. */ break; case WT_CELL_VALUE: |