Bug #22987 typing - at start of line causes infinite loop

Submitted: 4 Oct 2006 16:42 Modified: 9 Oct 2006 8:23
Reporter: Steve Betts Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Query Browser Severity:S1 (Critical)
Version:1.2.3 beta OS:Windows (Windows XP Pro SP2)
Assigned to: CPU Architecture:Any
Tags: comment loop

[4 Oct 2006 16:42] Steve Betts
Description:
When trying to add comments to a script in the script tab causes the Query Browser to loop using 100% of the CPU forever (that is, several minutes before I killed it).  That is, typing - as the first non-whitespace character on a line makes it hang.

System is an Athlon XP 2500, 1G ram, running MySql locally, logged in as root into an empty database. 

How to repeat:
Open Query Browser
File / New Script Tab
backspace to first column
type -
Looping Ensues

Also works when - is first non-whitespace character (after spaces/tabs)
[4 Oct 2006 18:05] Sveta Smirnova
Thank you for the report.

Please, try to repeat with newer 1.2.4 beta version available from http://dev.mysql.com/downloads/gui-tools/5.0.html
[7 Oct 2006 13:15] Steve Betts
After updating to 1.2.4 beta, the bug no longer appears.
[9 Oct 2006 8:23] Sveta Smirnova
Thank you for the feedback. I close the bug as "Can't repeat."

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.