Commit a6275966 authored by marko's avatar marko

branches/zip: dict_table_print_low(): Print table->flags, so that users

can create the table innodb_table_monitor and see in the error log which
tables are incompatible with older versions of InnoDB.
parent a9ae7311
...@@ -4087,12 +4087,13 @@ dict_table_print_low( ...@@ -4087,12 +4087,13 @@ dict_table_print_low(
fprintf(stderr, fprintf(stderr,
"--------------------------------------\n" "--------------------------------------\n"
"TABLE: name %s, id %lu %lu, columns %lu, indexes %lu," "TABLE: name %s, id %lu %lu, flags %lx, columns %lu,"
" appr.rows %lu\n" " indexes %lu, appr.rows %lu\n"
" COLUMNS: ", " COLUMNS: ",
table->name, table->name,
(ulong) ut_dulint_get_high(table->id), (ulong) ut_dulint_get_high(table->id),
(ulong) ut_dulint_get_low(table->id), (ulong) ut_dulint_get_low(table->id),
(ulong) table->flags,
(ulong) table->n_cols, (ulong) table->n_cols,
(ulong) UT_LIST_GET_LEN(table->indexes), (ulong) UT_LIST_GET_LEN(table->indexes),
(ulong) table->stat_n_rows); (ulong) table->stat_n_rows);
......
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