diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-01-03 00:36:16 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-01-03 00:36:16 +0000 |
commit | 1c49a556509ee1ae7047b8095434fb19401dc06c (patch) | |
tree | 2d8233f2cc1268a45ab1ab4d7ca6f8ee7d03b496 /lib/sqlalchemy/ansisql.py | |
parent | ad7938a8e0c2b0d57954b7d5ec1e0b2ad9552625 (diff) | |
download | sqlalchemy-1c49a556509ee1ae7047b8095434fb19401dc06c.tar.gz |
type objects pass engine around to get a hold of DBAPI type objects
added dbapi.Binary creation to base BinaryType
fixed MySQL binary type
adjustment to Join._match_primaries to work better with self-referential table
Diffstat (limited to 'lib/sqlalchemy/ansisql.py')
-rw-r--r-- | lib/sqlalchemy/ansisql.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/ansisql.py b/lib/sqlalchemy/ansisql.py index bcd20349b..ae7837a68 100644 --- a/lib/sqlalchemy/ansisql.py +++ b/lib/sqlalchemy/ansisql.py @@ -108,18 +108,18 @@ class ANSICompiler(sql.Compiled): d = OrderedDict() for k in self.positiontup: b = self.binds[k] - d[k] = b.typeprocess(b.value) + d[k] = b.typeprocess(b.value, self.engine) else: d = {} for b in self.binds.values(): - d[b.key] = b.typeprocess(b.value) + d[b.key] = b.typeprocess(b.value, self.engine) for key, value in bindparams.iteritems(): try: b = self.binds[key] except KeyError: continue - d[b.key] = b.typeprocess(value) + d[b.key] = b.typeprocess(value, self.engine) return d if self.engine.positional: |