| Bug #18778 | DbUtils.lua index out of range error | ||
|---|---|---|---|
| Submitted: | 4 Apr 2006 17:31 | Modified: | 27 Apr 2006 17:04 |
| Reporter: | John Yodsnukis (Basic Quality Contributor) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Workbench Preview | Severity: | S2 (Serious) |
| Version: | 1.0.6beta | OS: | |
| Assigned to: | Alfredo Kojima | CPU Architecture: | Any |
[4 Apr 2006 17:34]
John Yodsnukis
This is still a problem in svn revision 1224. ./mysql-gui-common/source/lua/DbUtils.lua (revision 1224)
[12 Apr 2006 17:11]
John Yodsnukis
The exact contents of the Advanced Log: Fetching schemata... Schemata fetched. Reverse engineering schema... Reverse engineering finished. Finalizing... Function call error calling DbUtils.removeIgnoredObjectsFromCatalog: Error calling lua function DbUtils.removeIgnoredObjectsFromCatalog: .../usr/local/share/mysql-gui/common//lua/DbUtils.lua:192: List index out of bounds Removing schema test Finished.
[27 Apr 2006 12:43]
John Yodsnukis
Still a problem in 1.0.6beta and current svn.
[27 Apr 2006 17:04]
Alfredo Kojima
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
http://www.mysql.com/doc/en/Installing_source_tree.html
Additional info:
Thank you for the bug report and the patch.
[30 Jun 2006 10:05]
Sveta Smirnova
Duplicate bug #20557

Description: If you reverse engineer a schema, but not all the tables, an "index out of bounds" error occurs in the "advanced" log. Additionally, in many cases you'll import tables you didn't want. How to repeat: Reverse engineer a schema, but don't import all tables. Suggested fix: Index: source/lua/DbUtils.lua =================================================================== --- source/lua/DbUtils.lua (revision 1224) +++ source/lua/DbUtils.lua (working copy) @@ -193,7 +193,8 @@ -- if it is, remove it from the list if (ignoreString == grtV.toLua(ignoreList[l])) then grtV.remove(objList, k) + break end end end