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

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Thu Jul 23 09:24:28 CDT 2020


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

Work on ASTERISK-29007 started by Dennis.

> 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