mirror of
https://github.com/major/MySQLTuner-perl.git
synced 2024-09-21 15:57:10 +00:00
Merge pull request #538 from grooverdan/json_total_tables
Add total_tables to json output
This commit is contained in:
commit
1f879d110b
@ -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 New Issue
Block a user