1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Whitespace cleanup

* remove trailing whitespace
* remove empty lines at the end of files
This commit is contained in:
Lars Kruse 2018-08-02 02:03:42 +02:00
parent ef851f0c34
commit 17f784270a
604 changed files with 2927 additions and 2945 deletions

View file

@ -45,7 +45,7 @@ foreach ($table_list as $_str_schema_table) {
$_ary_schema_table = explode('.',$_str_schema_table);
$schema = $_ary_schema_table[0];
$table = $_ary_schema_table[1];
$row = $mysql->getTableSize($schema,$table);
$data_length = $row['data_length'];
echo "$table.value $data_length\n";
@ -74,7 +74,7 @@ EOT;
public function getSchemaSize($schema) {
$bind = array($schema);
$sql = <<<EOT
select sum( data_length ) sum_data_length
select sum( data_length ) sum_data_length
from information_schema.tables
where table_schema = ?
EOT;