Issue 77 in innotop: Innotop crashes when Index DDL command is running at start

0 views
Skip to first unread message

inn...@googlecode.com

unread,
Nov 16, 2012, 6:20:42 AM11/16/12
to innotop...@googlegroups.com
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)

inn...@googlecode.com

unread,
Nov 16, 2012, 12:55:36 PM11/16/12
to innotop...@googlegroups.com

Comment #1 on issue 77 by baron.sc...@gmail.com: Innotop crashes when Index
OK, this sounds like something I should put into the next release. I also
ought to make that not crash if anything goes weird... showing nothing is
better than crashing.

inn...@googlecode.com

unread,
Jun 20, 2013, 11:57:15 AM6/20/13
to innotop...@googlegroups.com

Comment #2 on issue 77 by g...@dakin.be: Innotop crashes when Index DDL
Issue 80 has been merged into this issue.

--
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
Reply all
Reply to author
Forward
0 new messages