]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Respects ResultProxy.supports_sane_rowcount()
authorKe Zhu <kzhu@us.ibm.com>
Fri, 28 Feb 2020 21:00:57 +0000 (16:00 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 1 Mar 2020 16:14:58 +0000 (11:14 -0500)
commit5287da2b69ec7e091d8d796161c391f6a90678f7
tree341f1a698de0772ac42ad203062836d01eda2c8d
parentdfc4c550614928172ef31df3e97b73a05b985012
Respects ResultProxy.supports_sane_rowcount()

The check for matched rowcount when the alembic_version table is updated or
deleted from is now conditional based on whether or not the dialect
supports the concept of "rowcount" for UPDATE or DELETE rows matched.  Some
third party dialects do not support this concept.  Pull request courtesy Ke
Zhu.

Closes: #667
Pull-request: https://github.com/sqlalchemy/alembic/pull/667
Pull-request-sha: a0d45ed0f5de582314faae2210eeec881670488e

Change-Id: I09c9b540d8e21a94728085270eb20ba2273cbdb1
alembic/runtime/migration.py
docs/build/unreleased/rowcount.rst [new file with mode: 0644]
tests/test_version_table.py