summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/orm/context.py')
-rw-r--r--lib/sqlalchemy/orm/context.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/orm/context.py b/lib/sqlalchemy/orm/context.py
index 45ab64593..b0b8faee7 100644
--- a/lib/sqlalchemy/orm/context.py
+++ b/lib/sqlalchemy/orm/context.py
@@ -2707,7 +2707,9 @@ class _ORMColumnEntity(_ColumnEntity):
compile_state._entities.append(self)
compile_state._has_orm_entities = True
+
self.column = column
+
self._fetch_column = self._row_processor = None
self._extra_entities = (self.expr, self.column)