From: Mike Bayer Date: Wed, 26 Apr 2006 21:43:33 +0000 (+0000) Subject: commented out default schema name check X-Git-Tag: rel_0_1_7~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60726abc1ca6762b0562941cdfd1f462a50bd335;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git commented out default schema name check --- diff --git a/lib/sqlalchemy/mapping/properties.py b/lib/sqlalchemy/mapping/properties.py index c536bbf136..b7ff9fbb21 100644 --- a/lib/sqlalchemy/mapping/properties.py +++ b/lib/sqlalchemy/mapping/properties.py @@ -671,7 +671,7 @@ def create_lazy_clause(table, primaryjoin, secondaryjoin, foreignkey): lazywhere = primaryjoin.copy_container() li = BinaryVisitor(visit_binary) lazywhere.accept_visitor(li) - print "PRIMARYJOIN", str(lazywhere), [b.key for b in binds.values()] + #print "PRIMARYJOIN", str(lazywhere), [b.key for b in binds.values()] if secondaryjoin is not None: lazywhere = sql.and_(lazywhere, secondaryjoin) return (lazywhere, binds, reverselookup) diff --git a/lib/sqlalchemy/schema.py b/lib/sqlalchemy/schema.py index d54006fc35..cc7fa3b5bd 100644 --- a/lib/sqlalchemy/schema.py +++ b/lib/sqlalchemy/schema.py @@ -58,7 +58,7 @@ class EngineMixin(object): engine = property(_get_engine) def _get_table_key(engine, name, schema): - if schema is not None and schema == engine.get_default_schema_name(): + if schema is not None:# and schema == engine.get_default_schema_name(): schema = None if schema is None: return name