mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 08:04:36 +02:00
Fix #781
This commit is contained in:
parent
04abebe2a2
commit
2e009eb3db
@ -61,7 +61,7 @@ sub run {
|
||||
$self->{sql} = $options{sql};
|
||||
|
||||
$self->{sql}->connect();
|
||||
$self->{sql}->query(query => 'SELECT table_schema AS NAME, SUM(data_length+index_length)
|
||||
$self->{sql}->query(query => 'SELECT table_schema AS NAME, IFNULL(SUM(data_length+index_length), 0)
|
||||
FROM information_schema.tables
|
||||
GROUP BY table_schema');
|
||||
my $result = $self->{sql}->fetchall_arrayref();
|
||||
|
Loading…
x
Reference in New Issue
Block a user