]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed 1.0 regression where the eager fetch of cursor.rowcount was
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 5 Jan 2016 15:25:36 +0000 (10:25 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 5 Jan 2016 15:26:12 +0000 (10:26 -0500)
commit6ba8382fa8b9e5e3a02d2abde18a03d8e97d066d
tree3053cbfbf9894930324cc29a1ba9ef2e80970441
parent3b517241ba9ec94d8f46fb1df81f6732dc8733c7
- Fixed 1.0 regression where the eager fetch of cursor.rowcount was
no longer called for an UPDATE or DELETE statement emitted via plain
text or via the :func:`.text` construct, affecting those drivers
that erase cursor.rowcount once the cursor is closed such as SQL
Server ODBC and Firebird drivers.
fixes #3622

(cherry picked from commit 197ffa2be2cadce3df8bfb0799b3c80158250286)
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/sql/compiler.py
test/sql/test_rowcount.py