allow tokftdump to work on old tokudb files

This commit is contained in:
Rich Prohaska 2013-08-05 09:48:54 -04:00
parent a52b3259f6
commit 84c2b27088

View file

@ -256,7 +256,8 @@ dump_node (int f, BLOCKNUM blocknum, FT h) {
for (int i=0; i<n->n_children-1; i++) {
const DBT *piv = &n->childkeys[i];
printf(" pivot %2d:", i);
assert(n->flags == 0);
if (n->flags)
printf(" flags=%x ", n->flags);
print_item(piv->data, piv->size);
printf("\n");
}