{% if showtable['Row_format'] is defined %}
{% trans 'Format' %} |
{% if showtable['Row_format'] == 'Fixed' %}
{% trans 'static' %} |
{% elseif showtable['Row_format'] == 'Dynamic' %}
{% trans 'dynamic' %} |
{% else %}
{{ showtable['Row_format'] }} |
{% endif %}
{% endif %}
{% if showtable['Create_options'] is not empty %}
{% trans 'Options' %} |
{% if showtable['Create_options'] == 'partitioned' %}
{% trans 'partitioned' %} |
{% else %}
{{ showtable['Create_options'] }} |
{% endif %}
{% endif %}
{% if tbl_collation is not empty %}
{% trans 'Collation' %} |
{{ tbl_collation }}
|
{% endif %}
{% if not is_innodb and showtable['Rows'] is defined %}
{% trans 'Rows' %} |
{{ Util_formatNumber(showtable['Rows'], 0) }} |
{% endif %}
{% if not is_innodb
and showtable['Avg_row_length'] is defined
and showtable['Avg_row_length'] > 0 %}
{% trans 'Row length' %} |
{% set avg_row_length = Util_formatByteDown(showtable['Avg_row_length'], 6, 1) %}
{{ avg_row_length[0] }} {{ avg_row_length[1] }} |
{% endif %}
{% if not is_innodb
and showtable['Data_length'] is defined
and showtable['Rows'] is defined
and showtable['Rows'] > 0
and mergetable == false %}
{% trans 'Row size' %} |
{{ avg_size }} {{ avg_unit }} |
{% endif %}
{% if showtable['Auto_increment'] is defined %}
{% trans 'Next autoindex' %} |
{{ Util_formatNumber(showtable['Auto_increment'], 0) }} |
{% endif %}
{% if showtable['Create_time'] is defined %}
{% trans 'Creation' %} |
{{ Util_localisedDate(showtable['Create_time']|date('U')) }} |
{% endif %}
{% if showtable['Update_time'] is defined %}
{% trans 'Last update' %} |
{{ Util_localisedDate(showtable['Update_time']|date('U')) }} |
{% endif %}
{% if showtable['Check_time'] is defined %}
{% trans 'Last check' %} |
{{ Util_localisedDate(showtable['Check_time']|date('U')) }} |
{% endif %}