summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-04-26 21:43:33 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-04-26 21:43:33 +0000
commit60726abc1ca6762b0562941cdfd1f462a50bd335 (patch)
tree3fb78dca9711a9547538c5af486c4e1ba0adda32
parente16a345ea8d4e74019ed71b72aaff9d8f080d922 (diff)
downloadsqlalchemy-60726abc1ca6762b0562941cdfd1f462a50bd335.tar.gz
commented out default schema name check
-rw-r--r--lib/sqlalchemy/mapping/properties.py2
-rw-r--r--lib/sqlalchemy/schema.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/mapping/properties.py b/lib/sqlalchemy/mapping/properties.py
index c536bbf13..b7ff9fbb2 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 d54006fc3..cc7fa3b5b 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