Merge pull request #538 from grooverdan/json_total_tables
Add total_tables to json output
This commit is contained in:
commit
1f879d110b
1 changed files with 1 additions and 0 deletions
|
@ -3254,6 +3254,7 @@ sub mysql_stats {
|
|||
|
||||
# Table definition cache
|
||||
my $nbtables=select_one('SELECT COUNT(*) FROM information_schema.tables');
|
||||
$mycalc{'total_tables'} = $nbtables;
|
||||
if ( defined $myvar{'table_definition_cache'} ) {
|
||||
if ( $myvar{'table_definition_cache'} == -1 ) {
|
||||
infoprint ("table_definition_cache(".$myvar{'table_definition_cache'} .") is in autosizing mode");
|
||||
|
|
Loading…
Reference in a new issue