Bug #25967 Query is not executed correctly when edited with Ctrl-X or DEL key
Submitted: 31 Jan 2007 9:24 Modified: 2 Feb 2007 13:30
Reporter: Tim Clutton Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.2.9rc OS:Windows (Windows Server 2003 R2 Standard)
Assigned to: Mike Lischke CPU Architecture:Any

[31 Jan 2007 9:24] Tim Clutton
Description:
MySQL 5.0.27-community-nt

Removing highlighted text from a query in the Query Area by using "Ctrl-x" or the DEL key does not affect the executed query.

It seems as though the query is not flagged as having changed so the Browser simply resends the query it has in memory.

How to repeat:
Enter a simple query such as "SELECT 1+2" and execute it so that you see the result (hopefully "3"!).

Highlight the "2" in the query text by holding down the shift key and pressing the left-arrow on the keyboard and press either "Ctrl-X" or the DEL key to remove it leaving the text "SELECT 1+".

Execute the query again, and the result of "3" is shown again, when an error should be generated.
[31 Jan 2007 11:10] MySQL Verification Team
Thank you for the bug report.
[2 Feb 2007 13:30] Mike Lischke
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments to the original bug instead.

Thank you for your interest in MySQL.

Duplicate of Bug #25757