Community
Participate
Working Groups
When I call MySqlCatalogDatabase.refresh(), the single schema held by the database is not refreshed. The refresh event is sent to the appropriate listeners; but when a listener comes back to the database to get the new schemas, they are stale. Notes: The MySqlCatalogDatabase flags 'schemasLoaded' and 'catalogsLoaded' seem to be unused - they are never set to Boolean.TRUE. The flag 'schemasLoaded' is set to Boolean.FALSE in refresh(), but the schemas are still loaded....
ok. I'll take a look at this
Created attachment 145871 [details] Possible patch This should fix the setting of the flags accordingly... If you have a chance to test, that would be great. Works fine here, but I can't quite repro the issue you have either.
Bumping to 1.7.2. Brian V - if you get a chance to test it, we'll try and get it into an early build of 1.7.2 or whatever we're doing for Helios
Once again, this is going to have to get pushed to "future" because we just don't have the manpower. Sorry.
Hi guys, I committed the fix, with an added modification on super.refresh(). This works fine here and refreshes correctly (I tested on SP and UDF modifications). Brian (V.) could you comment further if that's not the correct fix you were expecting? Many thanks. See http://git.eclipse.org/c/datatools/org.eclipse.datatools.enablement.mysql.git/commit/?id=026b00d06ac8ba593abef046f3bbcb91fe712fd6