Bug #19303 Copy and pasting in query area causes error if last line tabbed
Submitted: 24 Apr 2006 18:35 Modified: 24 Apr 2006 23:11
Reporter: john ceh Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.1.20 OS:Windows (Windows XP)
Assigned to: CPU Architecture:Any

[24 Apr 2006 18:35] john ceh
Description:
Whenever I copy and paste a query that has the last line tabbed into the SQL Query Area, I get various errors because it will cut off characters from the query.

How to repeat:
-Write a working query in notepad:

SELECT *
FROM database.table

-Then tab the last line out:

SELECT *
	FROM database.table

-Then copy and paste it from notepad into the SQL Query Area. You should see the last line indented with the tab. When you run it, it should show an error.  If you delete the tab, then the query will run normally.
[24 Apr 2006 18:38] john ceh
You can just copy and paste the query exactly as it is written and see the error.  Use the query:

SELECT *
	FROM database.table

And you should get an error saying "Table 'database.tabl' doesn't exist"
[24 Apr 2006 23:11] MySQL Verification Team
Thank you for the bug report. Duplicate of bug:
http://bugs.mysql.com/bug.php?id=18162