svn commit: r358121 - in head/databases/innotop: . files

Steven Kreuzer skreuzer at FreeBSD.org
Tue Jun 17 14:26:08 UTC 2014


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 {


More information about the svn-ports-head mailing list