cdr_adaptive_odbc: Add support for SQL_DATETIME field type.

ASTERISK-30023

Change-Id: I0e1697f6af044e9eab7e07bbaeeffd1bb68ac34a
This commit is contained in:
Joshua C. Colp 2022-04-20 09:40:47 -03:00 committed by Friendly Automation
parent b3f39be0cc
commit 283b09cf70
1 changed files with 1 additions and 0 deletions

View File

@ -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 {