From 09a503e49724b61a8119f0b7855a990a29fc1521 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 22 Jan 2012 14:04:20 -0500 Subject: - [bug] Fixed bug whereby a table-bound Column object named "_" which matched a column labeled as "_" could match inappropriately when targeting in a result set row. [ticket:2377] - requires that we change the tuple format in RowProxy. Makes an improvement to the cases tested against an unpickled RowProxy as well though doesn't solve the problem there entirely. --- lib/sqlalchemy/sql/compiler.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/sqlalchemy/sql/compiler.py') diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 724e7dc2a..c63ae1aea 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -157,6 +157,10 @@ class _CompileLabel(visitors.Visitable): self.element = col self.name = name + @property + def proxy_set(self): + return self.element.proxy_set + @property def type(self): return self.element.type -- cgit v1.2.1