]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- Fixed mysql bug in exception raise when FK columns not present
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 21 Dec 2008 18:30:55 +0000 (18:30 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 21 Dec 2008 18:30:55 +0000 (18:30 +0000)
during reflection. [ticket:1241]

CHANGES
lib/sqlalchemy/databases/mysql.py

diff --git a/CHANGES b/CHANGES
index 6f55a870659c3b010fe9da1473f9f8dd8637ffe9..2be11ad2e5d3ce37f5b06352627ae912f61b67ce 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -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
index 1dc863233cfbfd83bafe276a4421bb8e44aa9d99..e22f242eadeaa00cea1ce1a71d875e77f32054d7 100644 (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 = {}