Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 77 by
richard....@gmail.com: Innotop crashes when Index DDL
command is running at start
http://code.google.com/p/innotop/issues/detail?id=77
What steps will reproduce the problem?
1. Kick off a CREATE INDEX or DROP INDEX on a big table (so it will take
time)
2. Run innotop before the statement completes
What is the expected output? What do you see instead?
Innotop crashes with:
Use of uninitialized value in concatenation (.) or string at
/usr/bin/innotop line 6938.
If innotop is started first, this doesn't crash. The problem is on line
6937 - the only two object types handled are DATABASE and TABLE. I added
INDEX to the regex and the problem disappeared.
What version of the product are you using? On what operating system?
1.9.0 on CentOS 5.8 with MySQL 5.0.95
Please provide any additional information below.
My fix worked for me, but I suspect the list of DDL objects should be
expanded to be:
DATABASE|TABLE|EVENT|FUNCTION|INDEX|LOGFILE|PROCEDURE|SERVER|TABLESPACE|
TRIGGER|VIEW
(the list of CREATE DDL statements in the MySQL manual)