Bug #16849 Using SQL Code: USE SomeDatabaseName causes an Error
Submitted: 27 Jan 2006 18:16 Modified: 3 Oct 2006 11:37
Reporter: TK Buisan Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.1.18 OS:MacOS (Mac OSX)
Assigned to: Vladimir Kolesnikov CPU Architecture:Any
Tags: Source Editors

[27 Jan 2006 18:16] TK Buisan
Description:
When using the following SQL Code: USE SomeDatabaseName; The SQL Browser reports an Error Code -1, but it appears to use the named Database.

How to repeat:
In the MySQL Query Browser, try switching the default database using the USE SQL command:
USE SomeDatabaseName;

A Code -1 error is returned.
[27 Jan 2006 18:23] TK Buisan
The Default Schema is only updated for the specific query pane. To update the Default Schema, the database must be selected via the gui (right mouse click), and the Make Default Schema menu item selected.
[27 Jan 2006 21:58] Jorge del Conde
Thanks for your bug report.  Tested under 10.4.4
[3 Oct 2006 11:37] Vladimir Kolesnikov
Thank you for taking the time to report a problem.  Unfortunately you are not using a current version of the product you reported a problem with -- the problem might already be fixed. Please download a new version from http://www.mysql.com/downloads/

If you are able to reproduce the bug with one of the latest versions, please change the version on this bug report to the version you tested and change the status back to "Open".  Again, thank you for your continued support of MySQL.

I cannot repeat this behaviour on Query Browser 1.2.4beta