From: Joshua C. Colp Date: Wed, 20 Apr 2022 12:40:47 +0000 (-0300) Subject: cdr_adaptive_odbc: Add support for SQL_DATETIME field type. X-Git-Tag: 20.0.0-rc1~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=283b09cf70be257afef535eaaf64293a482eaac8;p=thirdparty%2Fasterisk.git cdr_adaptive_odbc: Add support for SQL_DATETIME field type. ASTERISK-30023 Change-Id: I0e1697f6af044e9eab7e07bbaeeffd1bb68ac34a --- diff --git a/cdr/cdr_adaptive_odbc.c b/cdr/cdr_adaptive_odbc.c index 4a10ec8142..90032e26e5 100644 --- a/cdr/cdr_adaptive_odbc.c +++ b/cdr/cdr_adaptive_odbc.c @@ -564,6 +564,7 @@ static int odbc_log(struct ast_cdr *cdr) break; case SQL_TYPE_TIMESTAMP: case SQL_TIMESTAMP: + case SQL_DATETIME: if (ast_strlen_zero(colptr)) { continue; } else {