]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix positional compiling bugs
authorFederico Caselli <cfederico87@gmail.com>
Sat, 19 Nov 2022 19:39:10 +0000 (20:39 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 1 Dec 2022 22:54:24 +0000 (23:54 +0100)
commit55ee628e9ef8e0e90786bbb550b124cf4b634f8a
treeeb87fbb2f2fa79afe1f4f898ccd67d8b1082cb0d
parentd57558ed88a14bab5f11be045779698f7886763f
Fix positional compiling bugs

Fixed a series of issues regarding positionally rendered bound parameters,
such as those used for SQLite, asyncpg, MySQL and others. Some compiled
forms would not maintain the order of parameters correctly, such as the
PostgreSQL ``regexp_replace()`` function as well as within the "nesting"
feature of the :class:`.CTE` construct first introduced in :ticket:`4123`.

Fixes: #8827
Change-Id: I9813ed7c358cc5c1e26725c48df546b209a442cb
(cherry picked from commit 0f2baae6bf72353f785bad394684f2d6fa53e0ef)
doc/build/changelog/unreleased_14/8827.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/oracle/base.py
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/testing/assertions.py
test/dialect/oracle/test_compiler.py
test/dialect/postgresql/test_compiler.py
test/sql/test_compiler.py
test/sql/test_cte.py
test/sql/test_external_traversal.py
test/sql/test_functions.py