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

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


Dennis created ASTERISK-29007:
---------------------------------

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