Bug #22900 Executing a script will leave the database
Submitted: 2 Oct 2006 17:10 Modified: 18 Dec 2006 16:12
Reporter: marc castrovinci (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.2.4,1.2.5 OS:Windows (XP SP2)
Assigned to: Mike Lischke CPU Architecture:Any
Tags: database, execute, leave, script

[2 Oct 2006 17:10] marc castrovinci
Description:
When I run a script in the Query Browser, it will exit the database that i'm working in. This means if you want to do anything else, you have to go and select your DB again.

How to repeat:
Pick a Databse
Create a script
Run the script.

It should now have you out of the DB you were just working in.

(you can also tell by looking at the top of the window, that no DB is selected anymore)
[2 Oct 2006 17:51] MySQL Verification Team
Thank you for the bug report. Have you run your script using a Query Tab or
Script Tab?. Using a Script Tab I was unable to repeat. Thanks in advance.
[2 Oct 2006 17:57] marc castrovinci
I am running it in the script tab. I just ran the same script in 1.2.3 and 1.2.4 and it worked fine in 1.2.3 but changed DB's in 1.2.4
[3 Oct 2006 1:01] MySQL Verification Team
Thank you for the bug report. Indeed I tested on 1.2.3 and now with 1.2.4 I was
able to repeat.
[12 Oct 2006 8:37] Sveta Smirnova
There is duplicate Bug #23191
[16 Oct 2006 10:26] Sveta Smirnova
There is similar bug #23329
[1 Nov 2006 17:30] marc castrovinci
It is in 1.2.5 also.
[2 Nov 2006 12:32] Sveta Smirnova
There is duplicate bug #23789
[18 Dec 2006 15:29] Anthony Willard
This also happens if you select "Edit Procedure" (Right mouse, context menu) for an existing procedure in the object listing.
[18 Dec 2006 15:39] marc castrovinci
Just checked in 1.2.8 and this doesn't happen anymore.
[18 Dec 2006 15:45] Anthony Willard
I was using 1.2.4 beta when it occurred; it does not occur in 1.2.8 beta.
[18 Dec 2006 16:12] Mike Lischke
Excellent, thank your for checking this.