[asterisk-bugs] [JIRA] (ASTERISK-28763) Issue with SQLBindParameter with ODBC on StrLen_or_IndPtr

Abhay Gupta (JIRA) noreply at issues.asterisk.org
Mon Mar 2 04:27:25 CST 2020


Abhay Gupta created ASTERISK-28763:
--------------------------------------

             Summary: Issue with SQLBindParameter with ODBC on StrLen_or_IndPtr
                 Key: ASTERISK-28763
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28763
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_odbc
    Affects Versions: 16.7.0
         Environment: Asterisk on ubuntu with Apache Ignite Database
            Reporter: Abhay Gupta
            Severity: Minor


When we use Apache ignite for Asterisk Realtime it was observed that it was not picking up configuration .

The problem was that StrLen_or_IndPtr parameter should be declared as SQL_NTS to determine that the ParameterValue is NULL terminated .

The patch for the same which helps with such Databases and also works with Postgres and Mysql .



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



More information about the asterisk-bugs mailing list