Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 103 by
alipay...@gmail.com: Innotop display_L function have a bug
can't show lock information again
https://code.google.com/p/innotop/issues/detail?id=103
What steps will reproduce the problem?
1.use innotop and monitor your mysql database
2.press L to monitor your locks information
3.press Control + C to stop innotop
4.use innotop again,will occur below errors:
Use of uninitialized value $mysqlversion in pattern match (m//) at
/usr/local/bin/innotop line 473.
What is the expected output? What do you see instead?
The Lock info
What version of the product are you using? On what operating system?
innotop 1.9.1
os version:centos 6.5
mysql version :percona 5.6.19
Please provide any additional information below.
I thinks this problem because the variables $mysqlversion is undefined ,so
You can add below code to sove this problem :
9537 else {
9538 #Add SHOW VARIABLES to the hash. If we've gotten this
info before, skip and re-use.
9539 unless ( $show_variables{$cxn} ) {
9540 my $sth = do_stmt($cxn, 'SHOW_VARIABLES') ;
9541 my $res = $sth->fetchall_arrayref();
9542 $res = {map { $_->[0] => $_->[1] || 0 } @$res};
9543 $show_variables{$cxn} = $res;
9544 }
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings