summaryrefslogtreecommitdiff
path: root/src/btree/bt_debug.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2013-08-31 11:02:47 -0400
committerKeith Bostic <keith@wiredtiger.com>2013-08-31 11:02:47 -0400
commitfd8d238444e839e83ccb7a2f95b8e5c0c13aecd8 (patch)
tree0293c49a5b82203d6ff02211db90b46fdac17fb0 /src/btree/bt_debug.c
parent14faad94ba6a4f7ee8cf591b6b6cf4c189d27b89 (diff)
downloadmongo-fd8d238444e839e83ccb7a2f95b8e5c0c13aecd8.tar.gz
__debug_cell_data() isn't prepared to handle overflow-rm records by
restarting the lookup, avoid the problem for now.
Diffstat (limited to 'src/btree/bt_debug.c')
-rw-r--r--src/btree/bt_debug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/btree/bt_debug.c b/src/btree/bt_debug.c
index 6535fe6f69c..2ec8d585ef0 100644
--- a/src/btree/bt_debug.c
+++ b/src/btree/bt_debug.c
@@ -947,13 +947,15 @@ __debug_cell_data(WT_DBG *ds, int type, const char *tag, WT_CELL_UNPACK *unpack)
case WT_CELL_DEL:
deleted: __debug_item(ds, tag, "deleted", strlen("deleted"));
break;
+ case WT_CELL_VALUE_OVFL_RM:
+ __debug_item(ds, tag, "overflow/rm", strlen("overflow/rm"));
+ break;
case WT_CELL_KEY:
case WT_CELL_KEY_OVFL:
case WT_CELL_KEY_SHORT:
case WT_CELL_VALUE:
case WT_CELL_VALUE_COPY:
case WT_CELL_VALUE_OVFL:
- case WT_CELL_VALUE_OVFL_RM:
case WT_CELL_VALUE_SHORT:
WT_RET(__wt_scr_alloc(session, 256, &buf));
if ((ret =