]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
add MARS connection for aioodbc
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 26 Nov 2023 15:02:47 +0000 (10:02 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 26 Nov 2023 20:17:56 +0000 (15:17 -0500)
commitece55ff29d3385ad7aec6556c12a2181cc9ec513
treed4e1d1712f231c939827f28c15e15fa91a1ede09
parentc28bcf4b490c6e45c38bde56332b6c68bd1f4ea4
add MARS connection for aioodbc

on jenkins main we are getting a lot of connection busy with
other results, which we assume is due to the thread-pool based approach
of aioodbc not being very solid.

MARS is described at:

https://stackoverflow.com/questions/9017264/why-only-some-users-get-the-error-connection-is-busy-with-results-for-another
https://learn.microsoft.com/en-us/sql/relational-databases/native-client/features/using-multiple-active-result-sets-mars?view=sql-server-ver16

not clear why the name of the parameter is different in those two
articles. using a totally made up parameter doesn't raise any error,
so it's not clear if this works at all.

Change-Id: I8e437e9f46c1c070c5102a24d7d82a912e8b5145
lib/sqlalchemy/dialects/mssql/provision.py