mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-15 05:07:16 -04:00
commented out default schema name check
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user