]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Don't warn on multi delete rowcount if supports_sane_multi is False
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 3 May 2019 22:07:06 +0000 (18:07 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 6 May 2019 21:29:04 +0000 (17:29 -0400)
commitaa94afcdaf4faeacf13836de2475954e06a7fb67
tree66fd5e9625d424806bd8e2f656669a686404e343
parent1c3e92627362604472ca483055fc827a97942e6b
Don't warn on multi delete rowcount if supports_sane_multi is False

Fixed an issue where the "number of rows matched" warning would emit even if
the dialect reported "supports_sane_multi_rowcount=False", as is the case
for psycogp2 with ``use_batch_mode=True`` and others.

Fixes: #4661
Change-Id: I93aaf7f597b6083e860ab3cbcd620ba5621c57a8
doc/build/changelog/unreleased_13/4661.rst [new file with mode: 0644]
lib/sqlalchemy/orm/persistence.py
test/orm/test_unitofworkv2.py