]> 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:11:19 +0000 (14:11 -0500)
commite120837b682a3a822c2dff136ad48b1ca9fb6ce2
tree3677b098a8cfac598cab136644308a99dc8f1c50
parentcb35da20d7b93618814a9582a122cc1b24f806b2
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
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