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

Anthony Messina (JIRA) noreply at issues.asterisk.org
Sun Jan 8 12:00:10 CST 2017


Anthony Messina created ASTERISK-26704:
------------------------------------------

             Summary: res_odbc.conf contains depreciated configuration: res_odbc.c:526 load_odbc_config: The '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: 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