diff options
author | Matt Jordan <mjordan@digium.com> | 2015-07-20 18:09:03 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2015-07-20 18:09:03 -0500 |
commit | d482361a40c8a8edaa03741228dc6098db03686a (patch) | |
tree | 65374a88643d964ccfd999c29419587ae1523385 | |
parent | f7f3ae1815d30a7861dd1d6013996f6d82c32431 (diff) | |
parent | 293c9f68944bba86329b8846cb2d14cb11c318d8 (diff) |
Merge "cdr/cdr_adaptive_odbc.c: Fix quoted identifier usage when inserting CDR records"
-rw-r--r-- | cdr/cdr_adaptive_odbc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cdr/cdr_adaptive_odbc.c b/cdr/cdr_adaptive_odbc.c index f276959a0..8bd9d0da6 100644 --- a/cdr/cdr_adaptive_odbc.c +++ b/cdr/cdr_adaptive_odbc.c @@ -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 |