[asterisk-bugs] [JIRA] (ASTERISK-26704) res_odbc.conf contains deprecated configuration: 'pooling', 'shared_connections', 'limit', and 'idlecheck' options were replaced by 'max_connections'.

Friendly Automation (JIRA) noreply at issues.asterisk.org
Thu Feb 2 16:41:10 CST 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235024#comment-235024 ] 

Friendly Automation commented on ASTERISK-26704:
------------------------------------------------

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

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

> res_odbc.conf contains deprecated configuration: 'pooling', 'shared_connections', 'limit', and 'idlecheck' options were replaced by 'max_connections'.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26704
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26704
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Documentation, Resources/res_odbc
>    Affects Versions: 14.2.1
>            Reporter: Anthony Messina
>            Severity: Trivial
>
> 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}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list