Increase limit of unshared connections from 1023 to 4.2 billion.

(Related to issue #12677)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@117264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-05-20 16:25:16 +00:00
parent 01e2bd1e2f
commit 6353bddc57
2 changed files with 15 additions and 12 deletions

View File

@@ -59,10 +59,10 @@ struct odbc_class
char *sanitysql;
SQLHENV env;
unsigned int haspool:1; /* Boolean - TDS databases need this */
unsigned int limit:10; /* Gives a limit of 1023 maximum */
unsigned int count:10; /* Running count of pooled connections */
unsigned int delme:1; /* Purge the class */
unsigned int backslash_is_escape:1; /* On this database, the backslash is a native escape sequence */
unsigned int limit; /* 1023 wasn't enough for some people */
unsigned int count; /* Running count of pooled connections */
unsigned int idlecheck; /* Recheck the connection if it is idle for this long */
struct ao2_container *obj_container;
};