2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Merge pull request #103 from kolyagora/master

Fix for pgbouncer_ plugin
This commit is contained in:
Steve Schnepp 2012-05-03 05:39:50 -07:00
commit 89050ebdac

View File

@ -166,7 +166,7 @@ foreach my $get ('pools', 'stats')
my $pre = $dbh->prepare("SHOW $get") my $pre = $dbh->prepare("SHOW $get")
or die ("Cannot prepare query"); or die ("Cannot prepare query");
$pre->execute() $pre->execute()
or die ("Cannot execute statement") or die ("Cannot execute statement");
while (@data = $pre->fetchrow) while (@data = $pre->fetchrow)
{ {
# first defines the pool # first defines the pool