Bug #2946 Refresh Button not working
Submitted: 24 Feb 2004 17:34 Modified: 25 Feb 2004 2:22
Reporter: Hildingur Mahanti Email Updates:
Status: Closed Impact on me:
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.0.1a ALPHA OS:Windows (Windows 2000)
Assigned to: Michael G. Zinner CPU Architecture:Any

[24 Feb 2004 17:34] Hildingur Mahanti
On the "Schema tables" tab, the Refresh button is not working. The "Schema Tables" view fails to reflect a dropped table.

How to repeat:
1. Log onto Mysql Administrator
2. Goto Catalogs
3. Under "Schemata", select a database. 
4. Select the "Schema Tables" tab.
5. drop a table that belongs to the databse selected in step #3.
6. Hit the refresh button - the "dropped" table is there. ("Schema Tables" tab fails to update)

Note: The "Schema Tables" tab updates to reflect the dropped table when anther database is selected and then the original databse is selected. I suspect that this issue also extends to tables added to a database.

Suggested fix:
When the "refresh" button is hit, call the same method you hit when a a database is selected in the "Schemata" window. The "Refresh" button is probably not tied upto anything - something the programmer probably forgot while tying up the interfaces to the databse.

Good Luck
[24 Feb 2004 18:28] Hildingur Mahanti
ADDED LATER: The refresh button doesn't work for any tables added to a currently selected database (in the "Schemata" window) either.
[25 Feb 2004 2:22] Michael G. Zinner
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at