]> 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:29:33 +0000 (09:29 -0500)
commitc36643fbb933c0defd00b9caa7a184c24e2a544b
tree262392d7a881388892d581a9e32fa223562fca6a
parent68be924a83757a3470101d5b61e7591a901a5bb0
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
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