Re: SQLFreeHandle hang

Nick Gorham <[email protected]> Wed, 27 May 2009 11:53:10 +0100
Newsgroups gmane.comp.db.mysql.odbc
Message-ID <[email protected]>
J Jayavasanthan wrote:
> Hi,
> My Application hangs on my second call to SQLFreeHandle's 'thread_protect(
> SQL_HANDLE_ENV, environment );' line when I use the Threading option as
> 0/1/2. When I use Threading=3 the default it works fine.
>
> For the above test I had ConnectionPooling enabled.
>
> When I disable ConnectionPooling, the SQLFreeHandle with Threading=0/1/2 the
> hang doesn't happen. Is this a bug in configuration or am I missing
> something. My code is tuned to use the same Environment across connections,
> do let me know how I could avoid this,
>
> Regards,
> Jay
>
>   
This may be a unixODBC problem, try the 2.2.15pre thats on 
ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.2.15pre.tar.gz and let me 
know if the problem persists.

-- 
Nick Gorham
Easysoft Ltd + unixODBC

-- 
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe:    http://lists.mysql.com/[email protected]