mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 00:24:46 +02:00
Fix #781
This commit is contained in:
parent
7e4abff78d
commit
57a0ca4cf0
@ -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