mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "cdr/cdr_adaptive_odbc.c: Fix quoted identifier usage when inserting CDR records"
This commit is contained in:
@@ -740,9 +740,9 @@ static int odbc_log(struct ast_cdr *cdr)
|
||||
continue;
|
||||
}
|
||||
if (quoted) {
|
||||
ast_str_append(&sql, 0, "%s%s", separator, entry->name);
|
||||
} else {
|
||||
ast_str_append(&sql, 0, "%s%c%s%c", separator, tableptr->quoted_identifiers, entry->name, tableptr->quoted_identifiers);
|
||||
} else {
|
||||
ast_str_append(&sql, 0, "%s%s", separator, entry->name);
|
||||
}
|
||||
separator = ", ";
|
||||
} else if (entry->filtervalue
|
||||
|
Reference in New Issue
Block a user