Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODBC connection pooling in Linux #4

Open
Lisa999 opened this issue Nov 26, 2020 · 2 comments
Open

ODBC connection pooling in Linux #4

Lisa999 opened this issue Nov 26, 2020 · 2 comments

Comments

@Lisa999
Copy link

Lisa999 commented Nov 26, 2020

Unfortunately as of today (March 2020) ODBC connection pooling in Linux does work as expected to due an issue in unixODBC library.

Is this still true? Link to the issue?

@ErikvdVen
Copy link

Wondering the same thing over here.

@yorek
Copy link
Contributor

yorek commented Aug 25, 2022

Hi, it seems that the issue has been fixed, as per http://www.unixodbc.org/ news on 02 May 2022.

I haven't had the chance yet to test everything out, so if you want to try and check that now everything is working as expected, even without my workaround, that would be great!

To be clear, the issue was that sp_reset_connection was not called by the ODBC driver and thus the connection couldn't be reused for real, and the reason was that "SQL_ATTR_RESET_CONNECTION is a new connection attribute introduced for ODBC 3.8 driver. It can only be called by DM to reset a connection."

It has now been added: lurcher/unixODBC@c08a352 so it should work just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants