[unixODBC-support] can calling SQL_ATTR_CONNECTION_DEAD in SQLGetConnectAttr() result in blocking?

Nick Gorham nick at lurcher.org
Tue Mar 12 20:56:20 GMT 2013


On 12/03/13 19:54, Antony Davies wrote:
>
> Hi, is it possible for the call to block, or just it just return local 
> state?
>
> I have multiple threads on commit txn calls, and one on start 
> transaction call when I
>
> think this blocks (not 100% certain is just based on observations in a 
> log file)
>
> We are using version 2.2.14 of the odbc driver with oracle 10
>
> [Oracle_ODBC_Driver]
>
> Description     = Oracle 10g R2 ODBC driver.
>
> Driver          = /app/oracle/product/10gR2/lib/libsqora.so.10.1
>
> Setup           = /usr/lib64/liboraodbcS.so
>
> FileUsage       =
>
> CPTimeout       =
>
> CPReuse         =
>

Hi,

No way of me knowing without knowing what the driver does with that call.

Maybe try running under strace/truss/dtrace and seeing what happens 
after the call.

-- 
Nick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20130312/b527d279/attachment.html>


More information about the unixODBC-support mailing list