summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/compiler.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-08-25 12:00:11 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-08-25 12:00:11 -0400
commit885cae799895ac6adc4179758a25f1224beb87c3 (patch)
tree872f21ac341a2942f7dfa0b5db02e3540213fdd8 /lib/sqlalchemy/sql/compiler.py
parent393b29477648e9b2db9597916a0e53602610ac44 (diff)
downloadsqlalchemy-885cae799895ac6adc4179758a25f1224beb87c3.tar.gz
a few oracle fixes
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r--lib/sqlalchemy/sql/compiler.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py
index 81aa62c25..fffe3a9a5 100644
--- a/lib/sqlalchemy/sql/compiler.py
+++ b/lib/sqlalchemy/sql/compiler.py
@@ -938,7 +938,8 @@ class SQLCompiler(engine.Compiled):
self.result_map[keyname] = name, objects, type_
def _label_select_column(self, select, column, populate_result_map,
- asfrom, column_clause_args):
+ asfrom, column_clause_args,
+ within_columns_clause=True):
"""produce labeled columns present in a select()."""
if column.type._has_column_expression:
@@ -996,7 +997,7 @@ class SQLCompiler(engine.Compiled):
result_expr = col_expr
return result_expr._compiler_dispatch(
- self, within_columns_clause=True,
+ self, within_columns_clause=within_columns_clause,
add_to_result_map=add_to_result_map,
**column_clause_args
)