Date: Tue, 17 Jun 2014 14:26:08 +0000 (UTC) From: Steven Kreuzer <skreuzer@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358121 - in head/databases/innotop: . files Message-ID: <201406171426.s5HEQ8dK008627@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: skreuzer Date: Tue Jun 17 14:26:07 2014 New Revision: 358121 URL: http://svnweb.freebsd.org/changeset/ports/358121 QAT: https://qat.redports.org/buildarchive/r358121/ Log: Add patch to fix use of uninitialized value $mysqlversion in pattern match Added: head/databases/innotop/files/ head/databases/innotop/files/patch-innotop (contents, props changed) Modified: head/databases/innotop/Makefile Modified: head/databases/innotop/Makefile ============================================================================== --- head/databases/innotop/Makefile Tue Jun 17 14:25:39 2014 (r358120) +++ head/databases/innotop/Makefile Tue Jun 17 14:26:07 2014 (r358121) @@ -3,6 +3,7 @@ PORTNAME= innotop PORTVERSION= 1.9.1 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= GOOGLE_CODE Added: head/databases/innotop/files/patch-innotop ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/innotop/files/patch-innotop Tue Jun 17 14:26:07 2014 (r358121) @@ -0,0 +1,11 @@ +--- innotop.orig 2014-06-17 08:31:31.000000000 -0400 ++++ innotop 2014-06-17 08:32:19.000000000 -0400 +@@ -470,7 +470,7 @@ + # too many locks to print, the output might be truncated) + + my $time_text; +- if ( $mysqlversion =~ /^5\.6/ ) { ++ if ( defined $mysqlversion && $mysqlversion =~ /^5\.6/ ) { + ( $time_text ) = $fulltext =~ m/^([0-9-]* [0-9:]*) [0-9a-f]* INNODB MONITOR OUTPUT/m; + $innodb_data{'ts'} = [ parse_innodb_timestamp_56( $time_text ) ]; + } else {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406171426.s5HEQ8dK008627>