1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/databases/innotop/files/patch-innotop

12 lines
484 B
Plaintext

--- 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 {