small fix in the way how $totalinq value is retrieved

This commit is contained in:
Jordi Sanfeliu 2019-06-25 12:34:27 +02:00
parent 9fe82ff9e7
commit 6ff982c0de
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ sub bind_update {
}
}
if($major eq "3") {
$value = $data->findnodes('/statistics/server/counters/counter[@name="QUERY"]');
$value = $data->findvalue('/statistics/server/counters/counter[@name="QUERY"]');
}
$str = $n . "totalinq";
$value = $value || 0;