commented out default schema name check

This commit is contained in:
Mike Bayer
2006-04-26 21:43:33 +00:00
parent e16a345ea8
commit 60726abc1c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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