]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
updates for mariadb connector 1.0.10
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 19 Feb 2022 19:11:19 +0000 (14:11 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 19 Feb 2022 19:13:27 +0000 (14:13 -0500)
commit63c398b7cf500b1a60eb383d30ff60fc36e3a806
treedad5fb71aae16518c57560cf4f4e1f3f6f241fa1
parentc98c9d7133d6a3eb1b92a95a565d704bcbbcaa4e
updates for mariadb connector 1.0.10

Fixed regression in mariadbconnector dialect as of mariadb connector 1.0.10
where the DBAPI no longer pre-buffers cursor.lastrowid. The dialect now
fetches this value proactively for situations where it applies.

test_invalidate_on_results seems to pass for mariadbconnector now.
the driver has likely changed how it buffers result sets.  This is
a major change for them to make in a point release so we might
want to watch this in case they reverse course again.

Fixes: #7738
Change-Id: I9610aae01d1ae42fa92ffbc7123a6948e40ec9dd
(cherry picked from commit e120837b682a3a822c2dff136ad48b1ca9fb6ce2)
doc/build/changelog/unreleased_14/7738.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/mariadbconnector.py
lib/sqlalchemy/engine/default.py
setup.cfg
test/engine/test_reconnect.py