]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
correct mariadb sequence behavior when cycle=False
authorrusher <diego.dupin@mariadb.com>
Wed, 14 Jan 2026 14:03:00 +0000 (09:03 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 16 Jan 2026 14:30:28 +0000 (09:30 -0500)
commitd317d60ae42bb63f19675c46d36e0926263a4280
tree2486bc1b615412c0f9972847088bf58bb2fa8af2
parentf3560ad2e0179f8c6810e31fe1a4dea5633b5d70
correct mariadb sequence behavior when cycle=False

Fixed the SQL compilation for the mariadb sequence "NOCYCLE" keyword that
is to be emitted when the :paramref:`.Sequence.cycle` parameter is set to
False on a :class:`.Sequence`.  Pull request courtesy Diego Dupin.

Fixes: #13073
Closes: #13074
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/13074
Pull-request-sha: ead18a04018db6d574a3bc4bd71f21c23256737c

Change-Id: Ie1640c969aaa64e41da334fe0eff21e0d12a8bf0
(cherry picked from commit c36643fbb933c0defd00b9caa7a184c24e2a544b)
doc/build/changelog/unreleased_20/13073.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/dialects/mysql/mariadb.py
lib/sqlalchemy/sql/compiler.py
test/dialect/mysql/test_compiler.py
test/dialect/mysql/test_query.py