[Home]

Summary:ASTERISK-26704: res_odbc.conf contains deprecated configuration: 'pooling', 'shared_connections', 'limit', and 'idlecheck' options were replaced by 'max_connections'.
Reporter:Anthony Messina (amessina)Labels:
Date Opened:2017-01-08 11:59:15.000-0600Date Closed:2017-02-02 16:33:18.000-0600
Priority:TrivialRegression?
Status:Closed/CompleteComponents:Documentation Resources/res_odbc
Versions:14.2.1 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description:The default res_odbc.conf file triggers the following error:
{code}
res_odbc.c:526 load_odbc_config: The 'pooling', 'shared_connections', 'limit', and 'idlecheck' options were replaced by 'max_connections'.
{code}
because it still includes "share_connections" and "limit" in the "\[sqlserver\]" definition.  Commenting these out removes the warning.

{code}
[sqlserver]
enabled => no
dsn => mickeysoft
;share_connections => no
;limit => 5
username => oscar
password => thegrouch
pre-connect => yes
sanitysql => select count(*) from systables
{code}
Comments:By: Asterisk Team (asteriskteam) 2017-01-08 11:59:16.237-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Friendly Automation (friendly-automation) 2017-02-02 16:33:19.097-0600

Change 4872 merged by Joshua Colp:
res_odbc: Remove deprecated settings from sample configuration file

[https://gerrit.asterisk.org/4872|https://gerrit.asterisk.org/4872]

By: Friendly Automation (friendly-automation) 2017-02-02 16:40:58.818-0600

Change 4874 merged by zuul:
res_odbc: Remove deprecated settings from sample configuration file

[https://gerrit.asterisk.org/4874|https://gerrit.asterisk.org/4874]

By: Friendly Automation (friendly-automation) 2017-02-02 16:43:51.148-0600

Change 4873 merged by zuul:
res_odbc: Remove deprecated settings from sample configuration file

[https://gerrit.asterisk.org/4873|https://gerrit.asterisk.org/4873]