diff options
author | Keith Bostic <keith.bostic@wiredtiger.com> | 2011-05-19 12:12:20 -0400 |
---|---|---|
committer | Keith Bostic <keith.bostic@wiredtiger.com> | 2011-05-19 12:12:20 -0400 |
commit | 3339889ff06d7452d9b72aa252ead12714711a8a (patch) | |
tree | 88f409451f4086cf562845e126dedf49939c25cc /src/btree/bt_stat.c | |
parent | a258cac708ccec3c9c53bed72ed05b76addd75f4 (diff) | |
download | mongo-3339889ff06d7452d9b72aa252ead12714711a8a.tar.gz |
Store keys less than 64 bytes and data items less than 128 bytes using only a
single overhead byte.
Diffstat (limited to 'src/btree/bt_stat.c')
-rw-r--r-- | src/btree/bt_stat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/btree/bt_stat.c b/src/btree/bt_stat.c index 31e86c9afd6..3c0247037b4 100644 --- a/src/btree/bt_stat.c +++ b/src/btree/bt_stat.c @@ -6,6 +6,7 @@ */ #include "wt_internal.h" +#include "cell.i" static int __wt_stat_page_col_fix(SESSION *, WT_PAGE *); static int __wt_stat_page_col_rle(SESSION *, WT_PAGE *); @@ -163,7 +164,7 @@ __wt_stat_page_col_var(SESSION *session, WT_PAGE *page) * there's Huffman encoding). */ WT_COL_FOREACH(page, cip, i) - switch (WT_CELL_TYPE(WT_COL_PTR(page, cip))) { + switch (__wt_cell_type(WT_COL_PTR(page, cip))) { case WT_CELL_DATA: case WT_CELL_DATA_OVFL: upd = WT_COL_UPDATE(page, cip); |