diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2010-01-31 07:51:19 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2010-01-31 07:51:19 +0000 |
commit | f9b0779a03fabfe73b75e43de78788c4e10f07a5 (patch) | |
tree | 6030d7995ede2fd7f0acfa77e3e9eb587eabed4a /dev-db/mtop/files | |
parent | Bug #296317: version bump. Renumber old version to ensure correct increments. (diff) | |
download | gentoo-2-f9b0779a03fabfe73b75e43de78788c4e10f07a5.tar.gz gentoo-2-f9b0779a03fabfe73b75e43de78788c4e10f07a5.tar.bz2 gentoo-2-f9b0779a03fabfe73b75e43de78788c4e10f07a5.zip |
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.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/mtop/files')
-rw-r--r-- | dev-db/mtop/files/mtop-0.6.6-globalstatusfix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-db/mtop/files/mtop-0.6.6-globalstatusfix.patch b/dev-db/mtop/files/mtop-0.6.6-globalstatusfix.patch new file mode 100644 index 000000000000..1d10acc42a99 --- /dev/null +++ b/dev-db/mtop/files/mtop-0.6.6-globalstatusfix.patch @@ -0,0 +1,12 @@ +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 +--- mtop-0.6.6/work/mtop-0.6.6/mtop.PL 2004-09-13 00:22:03.000000000 +0200 ++++ mtop-0.6.6-r1/work/mtop-0.6.6/mtop.PL 2009-12-08 15:04:56.000000000 +0100 +@@ -568,7 +568,7 @@ + die "Unable to connect to mysql [", $DBI::errstr, "]\n"; + + my $st_procs = $dbh->prepare("show full processlist"); +-my $st_status = $dbh->prepare("show status"); ++my $st_status = $dbh->prepare("show global status"); + my $st_kill = $dbh->prepare("kill ?"); + my $st_flush = $dbh->prepare("flush status"); + my $st_vars = $dbh->prepare("show variables"); |