Bug #22214 MySQL Query Browser crashes when pressing minus key
Submitted: 9 Sep 2006 18:09 Modified: 12 Sep 2006 7:10
Reporter: Axel Völker Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S1 (Critical)
Version:1.2.3. beta OS:Windows (Windows XP Pro SP2)
Assigned to: Mike Lischke CPU Architecture:Any
Tags: crashes, keyboard, not responding

[9 Sep 2006 18:09] Axel Völker
Description:
The Query Browser (German language version) crashes as soon as I press the minus ("-") key on my (German) keyboard.
I tried to enter a SQL query in the editor that contained a negative value. The browser stopped responding when I hit the minus key.  

How to repeat:
Start the Query Browser. Focus the SQL editor to get a blinking cursor. Type the minus sign. The whole application stops responding immediately.
This only happens, when you are in the Editor.
[10 Sep 2006 20:33] David Robinson
This also happens in the English version using a US keyboard. 

Windows XP SP2
[11 Sep 2006 10:45] Sveta Smirnova
Thank you for the report.

Verified as described using Standard Windows 101/102 keyboard
[12 Sep 2006 2:15] Jared S
You should get 10 iPods for that bug

;)
[12 Sep 2006 7:10] Mike Lischke
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at

    http://dev.mysql.com/doc/en/installing-source.html
[18 Sep 2006 7:42] Sveta Smirnova
There is duplicate bug #22432
[20 Sep 2006 15:52] Adam Nabinger
Just 'discovered' this bug for myself. I would like to add that it only causes a freeze if, for any reason, the query ends in a single '-' character. Inserting characters into the middle of a query works fine. However, deleting the characters after, leaving only a single '-' at the end with also cause a freeze.
[25 Sep 2006 19:34] MySQL Verification Team
Bug: http://bugs.mysql.com/bug.php?id=22674 was marked as duplicate of this
one.
[29 Sep 2006 11:18] Valeriy Kravchuk
Bug #22805 was marked as a duplicate of this one.
[2 Jan 2007 15:11] J.R. Bullington
This was not fixed in 1.2.3BETA, as this is still occurring. However, the hyphen (-) does not need to be the only character. It does need to be outside of any quotes (in QB SQL field, a search for '-' works, but a search for 5-7 dies at the hyphen). Occurs on Win2003 SP1,  Win2003 RC2, WinXP Pro SP2 and RHEL AS3.
[20 Jan 2007 17:51] Sveta Smirnova
Bug #25732 was marked as duplicate of this one