[asterisk-bugs] [JIRA] (ASTERISK-29007) cdr_mysql: constructs invalid SQL queries on reconnect

Dennis (JIRA) noreply at issues.asterisk.org
Thu Aug 6 06:24:43 CDT 2020


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

Dennis closed ASTERISK-29007.
-----------------------------

    Resolution: Not A Bug

This issue was discovered on a different version of addon/cdr_mysql.c

> cdr_mysql: constructs invalid SQL queries on reconnect
> ------------------------------------------------------
>
>                 Key: ASTERISK-29007
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29007
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Addons/cdr_mysql
>    Affects Versions: 13.34.0
>            Reporter: Dennis
>            Assignee: Dennis
>            Severity: Minor
>
> We found that ASTERISK-27572 introduced a new bug where on re-connect the list of column names is not cleared and table columns are appended to the existing list. This causes execution errors due to duplicate column names in the INSERT query.
> In addition, the changes also introduced several compiler warnings regarding unused variables.



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



More information about the asterisk-bugs mailing list