diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-01-15 11:53:37 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-01-15 11:53:37 -0500 |
commit | 75b5236e69b4607d549d466bd34d409f3cc9ed45 (patch) | |
tree | 5a6a325f03cd1d2180583324a2982e9ff6f343b3 /lib/sqlalchemy/sql/compiler.py | |
parent | 56e59be4e7476d7d5a10760c84b8d5ee471a6d94 (diff) | |
download | sqlalchemy-75b5236e69b4607d549d466bd34d409f3cc9ed45.tar.gz |
- the _pk_processors/_prefetch_processors approach relied upon calling RPs without a cursor.description
result, also generates procs that are not used in most cases. simplify the approach
by passing type to _exec_default() to be used if needed by _execute_scalar(),
looking for the proc on just t._autoincrement_column in post_insert().
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 92110ca2a..ce98dfb83 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -268,20 +268,6 @@ class SQLCompiler(engine.Compiled): if value is not None ) - @util.memoized_property - def _pk_processors(self): - return [ - col.type._cached_result_processor(self.dialect, None) - for col in self.statement.table.primary_key - ] - - @util.memoized_property - def _prefetch_processors(self): - return [ - col.type._cached_result_processor(self.dialect, None) - for col in self.prefetch - ] - def is_subquery(self): return len(self.stack) > 1 |