diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-07-25 19:34:02 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-07-25 19:34:02 +0000 |
| commit | 4d036d6dd4a6dde9e7ae18ebc6451fdf8da0c726 (patch) | |
| tree | 3ba800230bc7f1ff23644fa45166151aff9aa41e /lib/sqlalchemy/sql/compiler.py | |
| parent | 1e6df0eeb7845e85e98ce334474e4c9ab8c10611 (diff) | |
| download | sqlalchemy-4d036d6dd4a6dde9e7ae18ebc6451fdf8da0c726.tar.gz | |
- Unary expressions such as DISTINCT propagate their
type handling to result sets, allowing conversions like
unicode and such to take place. [ticket:1420]
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
| -rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 5140b7f20..6af65ec14 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -405,8 +405,8 @@ class DefaultCompiler(engine.Compiled): else: return text - def visit_unary(self, unary, **kwargs): - s = self.process(unary.element) + def visit_unary(self, unary, **kw): + s = self.process(unary.element, **kw) if unary.operator: s = self.operator_string(unary.operator) + " " + s if unary.modifier: |
