Bug #51454 Opening new tab reverts to default schema
Submitted: 24 Feb 2010 11:37 Modified: 16 Nov 2011 5:19
Reporter: Alex Whitman Email Updates:
Status: Closed Impact on me:
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.16 R5249 OS:Windows (Windows 7)
Assigned to: CPU Architecture:Any
Tags: DEFAULT, schema, SQL, tabs

[24 Feb 2010 11:37] Alex Whitman
When opening a new tab in the query editor, the selected schema is reset to the default rather than staying on the current schema.  The status of the tree is also reset.

How to repeat:
- Open SQL editor.
- Change default schema in the object explorer.
- Open a new query tab.
- Default schema is now reset to the default set for the connection.
- Tree expansions are also closed.

Suggested fix:
Keep the currently selected schema when opening new tabs and keep the status of the tree the same.
[24 Feb 2010 13:59] MySQL Verification Team
Thank you for the bug report.
[16 Nov 2011 5:19] Philip Olson
Fixed as of 5.2.36:

+        Closing and opening the SQL Editor now sets the last used schema
+        as the default, instead of the schema specified within the
+        connection.