MySQL Forums
Forum List  »  Microsoft Access

Re: Workbench Access to MySQL migration issue.
Posted by: Milosz Bodzek
Date: October 10, 2014 09:47AM

Hi,

Please try with this patch, and see if that help.

===== BEGIN PATCH =====
=== modified file 'modules/db.msaccess/db_msaccess_re_grt.py'
--- modules/db.msaccess/db_msaccess_re_grt.py revid:milosz.bodzek@oracle.com-20141009124328-601vo7eafqtx1vkd
+++ modules/db.msaccess/db_msaccess_re_grt.py 2014-10-10 14:45:37 +0000
@@ -574,6 +574,9 @@

# Find the referenced table:
foreign_key.referencedTable = find_object_with_name(catalog.schemata[0].tables, fk_rows[0].szReferencedObject)
+ if not foreign_key.referencedTable:
+ grt.send_error('Migration: reverseEngineerTableFKs: Table "%s" not found in schemata "%s"' % (fk_rows[0].szReferencedObject, catalog.schemata[0].name) )
+ continue

for fk_row in fk_rows:
column = find_object_with_name(table.columns, fk_row.szColumn)
===== END PATCH =====

--
Milosz Bodzek
MySQL Developer Tools

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Workbench Access to MySQL migration issue.
1543
October 10, 2014 09:47AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.