ibmdb / python-ibmdbsa

Automatically exported from code.google.com/p/ibm-db.ibm-db-sa
Apache License 2.0
40 stars 59 forks source link

Fix foreign key reflection when there are tables with the same name in different schemas #128

Closed Xnot closed 1 year ago

Xnot commented 1 year ago

This fixes a bug in get_foreign_keys where the query being used currently also selects foreign keys from tables which have the same name as the one being reflected but are on different schemas, resulting in foreign keys from different tables getting reflected into the target table.