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

Dennis (JIRA) noreply at issues.asterisk.org
Thu Jul 23 09:24:25 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251517#comment-251517 ] 

Dennis edited comment on ASTERISK-29007 at 7/23/20 9:22 AM:
------------------------------------------------------------

Yes, I have just pushed a patch for 16 because I noticed ASTERISK-29007 had been merged into 16. I'm still new to Gerrit.


was (Author: dbuteyn):
Yes, I have just pushed a patch for 16 because I noticed ASTERISK-29007 had been merged into 16.

> 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: Unassigned
>            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