]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Quote cte alias if needed
authorEric Atkin <eatkin@omnisolutions.biz>
Thu, 22 Feb 2018 19:16:14 +0000 (14:16 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 22 Feb 2018 20:06:01 +0000 (15:06 -0500)
commitb6e4a16809744255213a4598dc49a9cff9738b0b
tree0c9ea8faf57389d41c64ad5d0d81a02ebf67f457
parent5614bffb2549b0aae2e7e41fe10bed12e06f457d
Quote cte alias if needed

Fixed bug where CTE expressions would not have their name or alias name
quoted when the given name is case sensitive or otherwise requires quoting.
Pull request courtesy Eric Atkin.

Fixes: #4197
Change-Id: Ib8573e82b9a1ca94b50c7c5d73ee98b79465d689
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/426
doc/build/changelog/unreleased_12/4197.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
test/sql/test_cte.py