]> 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:50:30 +0000 (23:50 +0100)
commit0f2baae6bf72353f785bad394684f2d6fa53e0ef
tree4d7c2cd6e8a73106aa4f95105968cf6e3fded813
parentc440c920aecd6593974e5a0d37cdb9069e5d3e57
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
12 files changed:
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/sql/selectable.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