diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-20 16:25:16 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-20 16:25:16 +0000 |
commit | 60c5b78a7e8bff2e4153385d65d4e161e2a62da3 (patch) | |
tree | 8f06821fc5089457e37efe37079cf2561aead381 /res | |
parent | dce9004ba82791ae614fd9bf1bffe92d6ee3e061 (diff) |
Increase limit of unshared connections from 1023 to 4.2 billion.
(Related to issue #12677)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@117264 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_odbc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_odbc.c b/res/res_odbc.c index 5e0ea4b54..b050c8cb9 100644 --- a/res/res_odbc.c +++ b/res/res_odbc.c @@ -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; }; |