summaryrefslogtreecommitdiff
path: root/src/btree/bt_vrfy_dsk.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-03-19 13:23:10 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-03-19 13:23:10 -0400
commit12148844cfdc08d10e7a460a585e1c3be1f8d9f7 (patch)
tree3d69028c1ecbe168163787daeefbcd5d9e3f2fc0 /src/btree/bt_vrfy_dsk.c
parent681524cf943e3e8294687b6e83104422068039ab (diff)
downloadmongo-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.c7
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: