Bug #22805 MySQL Query Browser query editor locks up application
Submitted: 28 Sep 2006 21:51 Modified: 29 Sep 2006 11:16
Reporter: Steve Krenek Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Query Browser Severity:S2 (Serious)
Version:1.2.3 beta OS:Windows (Windows XP Pro)
Assigned to: CPU Architecture:Any
Tags: editor, not responding, query

[28 Sep 2006 21:51] Steve Krenek
Description:
Whenever I type in a - (minus) key in the query editor, the query browser application locks up.  I get the hour glass wait cursor, and after about 10 seconds the infamous "Not Responding" text appears in the title bar.  

I first ran into this while attempting a SUBSTR(column, -5) function.  As soon as I typed the minus key, it locked up.  My only choice was to kill the application and restart it.

After restarting the application a few times, I finally tried typing a minus key in the editor as soon as it opened, and it again locked up and I had to kill it.  

I am forced to go back to the command line console to perform any query with a minus key in it right now.

How to repeat:
Simply type a - (minus / dash) key in the query editor (the text box next to the "Execute" button).

Suggested fix:
If there is any sort of dynamic query parsing going on as the user types (which it looks as if there is judging from syntax coloring), my guess is this is some sort of parsing bug.
[29 Sep 2006 11:16] Valeriy Kravchuk
Duplicate of Bug #22736.
[29 Sep 2006 11:19] Valeriy Kravchuk
Sorry, it is a duplicate of Bug #22214, really.