From 60726abc1ca6762b0562941cdfd1f462a50bd335 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 26 Apr 2006 21:43:33 +0000 Subject: [PATCH] commented out default schema name check --- lib/sqlalchemy/mapping/properties.py | 2 +- lib/sqlalchemy/schema.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.2