diff options
author | Keith Bostic <keith.bostic@wiredtiger.com> | 2011-07-22 13:24:19 -0400 |
---|---|---|
committer | Keith Bostic <keith.bostic@wiredtiger.com> | 2011-07-22 13:24:19 -0400 |
commit | fa35ab5533ef7dcf99e97fbddcc1e6f067d0b173 (patch) | |
tree | 0f9123f9e1b8671c8b214319a8fa5e33551f04d6 /src/btree/bt_debug.c | |
parent | 00141dd12e20a7d34140fb1e66da7151614ac7e9 (diff) | |
download | mongo-fa35ab5533ef7dcf99e97fbddcc1e6f067d0b173.tar.gz |
We're using "key/value", not "key/data" in WiredTiger, rename the cell types
from WT_CELL_DATA{,_OVFL} to WT_CELL_VALUE{,_OVFL}.
Diffstat (limited to 'src/btree/bt_debug.c')
-rw-r--r-- | src/btree/bt_debug.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/btree/bt_debug.c b/src/btree/bt_debug.c index 146576f4334..99a687f7c75 100644 --- a/src/btree/bt_debug.c +++ b/src/btree/bt_debug.c @@ -642,17 +642,17 @@ __wt_debug_cell(WT_DBG *ds, WT_CELL_UNPACK *unpack) __wt_cell_type_string(unpack->raw), unpack->size); switch (unpack->type) { - case WT_CELL_DATA: case WT_CELL_DEL: + case WT_CELL_VALUE: if (unpack->rle != 0) __wt_dmsg(ds, ", rle: %" PRIu64, unpack->rle); break; case WT_CELL_KEY: __wt_dmsg(ds, ", pfx: %" PRIu8, unpack->prefix); break; - case WT_CELL_DATA_OVFL: case WT_CELL_KEY_OVFL: case WT_CELL_OFF: + case WT_CELL_VALUE_OVFL: __wt_dmsg(ds, ", offpage: addr %" PRIu32 ", size %" PRIu32, unpack->off.addr, unpack->off.size); break; @@ -728,10 +728,10 @@ __wt_debug_cell_data(WT_DBG *ds, const char *tag, WT_CELL_UNPACK *unpack) goto deleted; switch (unpack->type) { - case WT_CELL_DATA: - case WT_CELL_DATA_OVFL: case WT_CELL_KEY: case WT_CELL_KEY_OVFL: + case WT_CELL_VALUE: + case WT_CELL_VALUE_OVFL: WT_ERR(__wt_scr_alloc(session, 0, &tmp)); WT_ERR(__wt_cell_unpack_copy(session, unpack, tmp)); p = tmp->data; |