- Fixed mysql bug in exception raise when FK columns not present

during reflection. [ticket:1241]
This commit is contained in:
Mike Bayer
2008-12-21 18:30:55 +00:00
parent f2774461d3
commit 8dc7bada91
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -218,6 +218,10 @@ CHANGES
of Oracle two-phase commit working properly
with this change.
- mysql
- Fixed bug in exception raise when FK columns not present
during reflection. [ticket:1241]
- associationproxy
- The association proxy properties are make themselves available
at the class level, e.g. MyClass.aproxy. Previously this
+1 -1
View File
@@ -2331,7 +2331,7 @@ class MySQLSchemaReflector(object):
raise exc.InvalidRequestError(
"Foreign key columns (%s) are not present on "
"foreign table %s" %
(', '.join(ref_names), ref_table.fullname()))
(', '.join(ref_names), ref_table.fullname))
ref_columns = [ref_table.c[name] for name in ref_names]
con_kw = {}