SQLFreeHandle hang
J Jayavasanthan <[email protected]> Wed, 27 May 2009 16:04:30 +0530
| Newsgroups | gmane.comp.db.mysql.odbc |
|---|---|
| Message-ID | <[email protected]> |
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