]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix result set handling for case insensitive dupe cols
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 21 Apr 2016 14:36:19 +0000 (10:36 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 21 Apr 2016 14:39:14 +0000 (10:39 -0400)
commit3db48cc6270442dabeddfdb711f70f23b6dccb2b
treec100c21fdccccecc5260a55e198510c1e26d2af2
parentfc68a7145d086de21005b4ccaa93847d4b889dba
Fix result set handling for case insensitive dupe cols

Fixed bug where when using ``case_sensitive=False`` with an
:class:`.Engine`, the result set would fail to correctly accomodate
for duplicate column names in the result set, causing an error
when the statement is executed in 1.0, and preventing the
"ambiguous column" exception from functioning in 1.1.

Change-Id: If582bb9fdd057e4da3ae42f7180b17d1a1a2d98e
Fixes: #3690
(cherry picked from commit 1f3e5d9826fe989f2212745f6b3592b2ef9b5e32)
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/engine/result.py
test/sql/test_resultset.py