Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/mtop/files: mtop-0.6.6-globalstatusfix.patch
Date: Sun, 31 Jan 2010 07:51:24
Message-Id: E1NbUaW-0008Fk-AZ@stork.gentoo.org
1 robbat2 10/01/31 07:51:20
2
3 Added: mtop-0.6.6-globalstatusfix.patch
4 Log:
5 Bug #296186: Revbump with fix to use SHOW GLOBAL STATUS for QPS count, like similar patch in mytop. Upstream no longer maintains mtop, you should probably move to mytop instead.
6 (Portage version: 2.2_rc61/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-db/mtop/files/mtop-0.6.6-globalstatusfix.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mtop/files/mtop-0.6.6-globalstatusfix.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mtop/files/mtop-0.6.6-globalstatusfix.patch?rev=1.1&content-type=text/plain
13
14 Index: mtop-0.6.6-globalstatusfix.patch
15 ===================================================================
16 diff -ur mtop-0.6.6/work/mtop-0.6.6/mtop.PL mtop-0.6.6-r1/work/mtop-0.6.6/mtop.PL
17 --- mtop-0.6.6/work/mtop-0.6.6/mtop.PL 2004-09-13 00:22:03.000000000 +0200
18 +++ mtop-0.6.6-r1/work/mtop-0.6.6/mtop.PL 2009-12-08 15:04:56.000000000 +0100
19 @@ -568,7 +568,7 @@
20 die "Unable to connect to mysql [", $DBI::errstr, "]\n";
21
22 my $st_procs = $dbh->prepare("show full processlist");
23 -my $st_status = $dbh->prepare("show status");
24 +my $st_status = $dbh->prepare("show global status");
25 my $st_kill = $dbh->prepare("kill ?");
26 my $st_flush = $dbh->prepare("flush status");
27 my $st_vars = $dbh->prepare("show variables");