diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-04-06 01:15:46 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-04-06 01:15:46 +0000 |
commit | 680c27607328a8f89e446601f7bc7ed56394dc27 (patch) | |
tree | 4f5fdc632d648cb723373c06a82eba3332c27807 /lib/sqlalchemy/engine.py | |
parent | 753b7c2d3ebe8753d70ff8ed33dfbcdddb5e5d29 (diff) | |
download | sqlalchemy-680c27607328a8f89e446601f7bc7ed56394dc27.tar.gz |
moves the binding of a TypeEngine object from "schema/statement creation" time into "compilation" time
Diffstat (limited to 'lib/sqlalchemy/engine.py')
-rw-r--r-- | lib/sqlalchemy/engine.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/engine.py b/lib/sqlalchemy/engine.py index 727ee30ad..97c710762 100644 --- a/lib/sqlalchemy/engine.py +++ b/lib/sqlalchemy/engine.py @@ -319,7 +319,7 @@ class SQLEngine(schema.SchemaEngine): self.positional = True else: raise DBAPIError("Unsupported paramstyle '%s'" % self._paramstyle) - + def type_descriptor(self, typeobj): """provides a database-specific TypeEngine object, given the generic object which comes from the types module. Subclasses will usually use the adapt_type() @@ -808,7 +808,7 @@ class ResultProxy: rec = self.props[key.lower()] else: rec = self.props[key] - return rec[0].convert_result_value(row[rec[1]], self.engine) + return rec[0].engine_impl(self.engine).convert_result_value(row[rec[1]], self.engine) def __iter__(self): while True: |