Commit 15c3c82b authored by Rich Prohaska's avatar Rich Prohaska

allow tokftdump to work on old tokudb files

parent 1de8fac2
...@@ -256,7 +256,8 @@ dump_node (int f, BLOCKNUM blocknum, FT h) { ...@@ -256,7 +256,8 @@ dump_node (int f, BLOCKNUM blocknum, FT h) {
for (int i=0; i<n->n_children-1; i++) { for (int i=0; i<n->n_children-1; i++) {
const DBT *piv = &n->childkeys[i]; const DBT *piv = &n->childkeys[i];
printf(" pivot %2d:", i); printf(" pivot %2d:", i);
assert(n->flags == 0); if (n->flags)
printf(" flags=%x ", n->flags);
print_item(piv->data, piv->size); print_item(piv->data, piv->size);
printf("\n"); printf("\n");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment