[unixODBC-support] Why does SQLDisconnect trigger a call to SQLFreeHandle(SQL_HANDLE_ENV) ?

Nick Gorham nick at lurcher.org
Fri Jun 24 14:06:36 BST 2011

On 24/06/11 13:48, Andy Grove wrote:
> Nick,
> Thanks for the speedy response. That makes sense. The main problem I had was that in my ODBC driver implementation I was assuming that the SQL_HANDLE_ENV would stay around and I was keeping some critical state there. Now that I understand this better I can see that this wasn't the correct design.
> Thanks again for your help with this.

No problem. I have been there myself :-)


More information about the unixODBC-support mailing list