Displaying 1 result from an estimated 1 matches for "sqlpointer".
Did you mean:
setpointer
2008 Jan 10
1
Asterisk Realtime unixODBC timeout?
...'t seem to work. It takes over 3
minutes to timeout a connection and queries never seem to timeout, so
a channel waiting on a query never terminates.
I did notice that res_odbc.c never sets a timeout on the query using
something like this:
SQLSetStmtAttr( hstmt, SQL_ATTR_QUERY_TIMEOUT, (SQLPOINTER)10, 0 );
Has anyone tested this? Is it just failing for FreeTDS connections?
(I don't have anything else.)
Norman Franke
ASD, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080110/b8270eb7/...