mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 02:48:29 +00:00
Merged revisions 99341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r99341 | tilghman | 2008-01-21 12:11:07 -0600 (Mon, 21 Jan 2008) | 8 lines Permit the user to specify number of seconds that a connection may remain idle, which fixes a crash on reconnect with the MyODBC driver. (closes issue #11798) Reported by: Corydon76 Patches: 20080119__res_odbc__idlecheck.diff.txt uploaded by Corydon76 (license 14) Tested by: mvanbaak ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -38,6 +38,7 @@ struct odbc_obj {
|
||||
ast_mutex_t lock;
|
||||
SQLHDBC con; /* ODBC Connection Handle */
|
||||
struct odbc_class *parent; /* Information about the connection is protected */
|
||||
struct timeval last_used;
|
||||
unsigned int used:1;
|
||||
unsigned int up:1;
|
||||
AST_LIST_ENTRY(odbc_obj) list;
|
||||
|
||||
Reference in New Issue
Block a user