]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
commented out default schema name check
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 26 Apr 2006 21:43:33 +0000 (21:43 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 26 Apr 2006 21:43:33 +0000 (21:43 +0000)
lib/sqlalchemy/mapping/properties.py
lib/sqlalchemy/schema.py

index c536bbf1365f4673a13b44e97927b4c578d19be6..b7ff9fbb21d44d4bd512e63ccbd25b9ae179899e 100644 (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)
index d54006fc35586e79a72bc2ee83849b7fdc70c966..cc7fa3b5bde0737aeddce70e3b1834eabaa36a6e 100644 (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