[asterisk-bugs] [JIRA] (ASTERISK-24568) res_config_odbc fails on MS SQL Server

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Dec 16 17:47:29 CST 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton closed ASTERISK-24568.
-----------------------------------

    Resolution: Won't Fix

Yup - [New Feature Guidelines|https://wiki.asterisk.org/wiki/display/AST/New+Feature+Guidelines]

Closing out until we have a patch. [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> res_config_odbc fails on MS SQL Server
> --------------------------------------
>
>                 Key: ASTERISK-24568
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24568
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Resources/res_config_odbc
>    Affects Versions: 11.14.1, 13.0.1
>         Environment: OpenSuse 13.1, FreeTDS, UnixODBC, MS SQL Server
>            Reporter: Rudolf Faix
>            Assignee: Matt Jordan
>            Severity: Minor
>
> res_config_odbc fails on SQL-Server for the following statement:
> ast_build_string(&sql, &sqlleft, "SELECT MAX(LENGTH(var_val)) FROM %s WHERE filename='%s'", table, file);
> If you exchange the word "LENGTH" to "LEN" everything is working fine:
> ast_build_string(&sql, &sqlleft, "SELECT MAX(LEN(var_val)) FROM %s WHERE filename='%s'", table, file);



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



More information about the asterisk-bugs mailing list