diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-db/mtop/files |
reinit the tree, so we can have metadata
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"); |