Bug #61218 Edit Table Data option overwrites existing SQL in query tab
Submitted: 18 May 2011 20:19 Modified: 27 Jul 2011 9:57
Reporter: Mike Reid Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.33 OS:MacOS (10.6.7)
Assigned to: CPU Architecture:Any
Tags: Edit, table, workbench

[18 May 2011 20:19] Mike Reid
Description:
Edit Table Data causing loss of SQL statements in current SQL Query tab.

How to repeat:
1. Open Workbench
2. Connect to a server
3. Select a database and display available tables
4. FIRST, run some custom SQL

SELECT VERSION();

5. THEN, right-click on any table and select "Edit Table Data"
6. Watch as it overwrites ALL existing SQL on the current SQL Query tab, causing you to lose you query.

Suggested fix:
Simply have "Edit Table Data" spawn a NEW tab, preserving any/all existing SQL. Unless the current SQL Query tab is empty, then no new tab would be required.
[18 May 2011 21:27] MySQL Verification Team
Thank you for the bug report. Verified on Windows.
[27 Jul 2011 9:57] Jon Stephens
Duplicate of BUG#61774.