From: Mike Bayer Date: Sun, 4 Mar 2007 18:09:43 +0000 (+0000) Subject: dont continue remote table if warning X-Git-Tag: rel_0_3_6~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb753925294a41ce63703ecd3c0891d5afc5e89d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git dont continue remote table if warning --- diff --git a/lib/sqlalchemy/databases/oracle.py b/lib/sqlalchemy/databases/oracle.py index d53de06548..8d112fc460 100644 --- a/lib/sqlalchemy/databases/oracle.py +++ b/lib/sqlalchemy/databases/oracle.py @@ -373,6 +373,7 @@ class OracleDialect(ansisql.ANSIDialect): if remote_table is None: # ticket 363 self.logger.warn("Got 'None' querying 'table_name' from all_cons_columns%(dblink)s - does the user have proper rights to the table?" % {'dblink':dblink}) + continue refspec = ".".join([remote_table, remote_column]) schema.Table(remote_table, table.metadata, autoload=True, autoload_with=connection, owner=remote_owner) if local_column not in fk[0]: