asterisk/cdr
Elazar Broad 293c9f6894 cdr/cdr_adaptive_odbc.c: Fix quoted identifier usage when inserting CDR records
Commit a24ce38 added support for the use of quoted indentifiers when inserting
CDR records into the database. However, the if statement logic responsible for
determining whether to use those identifiers is reversed, resulting in a
reference to the quoted identifier character buffer which will be null, hence
null terminating the SQL query, resulting in a truncated statement which
fails to execute.

ASTERISK-25263 #close
Reported by: Elazar Broad
Tested by: Elazar Broad

Change-Id: I40da47309b67cc1572207b1515dcc08ec9b1f644
2015-07-20 17:46:19 -05:00
..
Makefile Doxygen Updates - Title update 2012-10-14 21:46:45 +00:00
cdr_adaptive_odbc.c cdr/cdr_adaptive_odbc.c: Fix quoted identifier usage when inserting CDR records 2015-07-20 17:46:19 -05:00
cdr_csv.c Merge "cdr/cdr_csv.c: Set file name for csv master to the module when (re)loaded." 2015-06-02 12:02:01 -05:00
cdr_custom.c cdr: standardizes tab for options of AST_MODULE_INFO 2015-05-05 00:06:57 -04:00
cdr_manager.c cdr: standardizes tab for options of AST_MODULE_INFO 2015-05-05 00:06:57 -04:00
cdr_odbc.c cdr: standardizes tab for options of AST_MODULE_INFO 2015-05-05 00:06:57 -04:00
cdr_pgsql.c cel, cdr: Assigned separator for column name and values. 2015-05-20 12:08:18 -04:00
cdr_radius.c cdr: standardizes tab for options of AST_MODULE_INFO 2015-05-05 00:06:57 -04:00
cdr_sqlite.c git migration: Refactor the ASTERISK_FILE_VERSION macro 2015-04-13 03:48:57 -04:00
cdr_sqlite3_custom.c git migration: Refactor the ASTERISK_FILE_VERSION macro 2015-04-13 03:48:57 -04:00
cdr_syslog.c git migration: Refactor the ASTERISK_FILE_VERSION macro 2015-04-13 03:48:57 -04:00
cdr_tds.c cdr: standardizes tab for options of AST_MODULE_INFO 2015-05-05 00:06:57 -04:00