Bug #62596 | Some of the exposed scripting methods in DbMySQLImpl are improperly restricted | ||
---|---|---|---|
Submitted: | 2 Oct 2011 0:00 | Modified: | 10 Aug 2012 6:11 |
Reporter: | John Robinson | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S3 (Non-critical) |
Version: | 5.2.34 | OS: | Any |
Assigned to: | Alfredo Kojima | CPU Architecture: | Any |
Tags: | script scripting sql generation plugin |
[2 Oct 2011 0:00]
John Robinson
[2 Oct 2011 0:04]
John Robinson
the supplied script to reproduce, the d1 dictionary should have an additional item that contains the output, named "OutputScript"
[2 Oct 2011 0:07]
John Robinson
also, the qualified name code is in modules/db.mysql/src/module_db_mysql_shared_code.h and the specific functions are: get_full_object_name_for_key and possible some of the others in there for other areas.
[12 Jan 2012 14:13]
Alfredo Kojima
The reverse and forward engineering modules will be reviewed.
[9 Aug 2012 4:37]
Alfredo Kojima
In 5.2.41 new DbMySQLRE and DbMySQLFE modules were added. They have a friendlier and more sensible public API. You can look at the migration module for sample usage. Also, the constness in arguments from the C++ interface is not relevant to how the functions are used from the exposed Python interface.
[10 Aug 2012 6:11]
Philip Olson
Fixed as of the upcoming 5.2.41, and here's the changelog entry: Several exposed "DbMySQL" methods (such as "makeSQLExportScript") were problematic, and have been replaced by the "DbMySQLRE" and "DbMySQLFE" modules.