mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
cdr_adaptive_odbc: Add support for SQL_DATETIME field type.
ASTERISK-30023 Change-Id: I0e1697f6af044e9eab7e07bbaeeffd1bb68ac34a
This commit is contained in:
committed by
Joshua Colp
parent
25431555d1
commit
ebbbe78842
@@ -564,6 +564,7 @@ static int odbc_log(struct ast_cdr *cdr)
|
|||||||
break;
|
break;
|
||||||
case SQL_TYPE_TIMESTAMP:
|
case SQL_TYPE_TIMESTAMP:
|
||||||
case SQL_TIMESTAMP:
|
case SQL_TIMESTAMP:
|
||||||
|
case SQL_DATETIME:
|
||||||
if (ast_strlen_zero(colptr)) {
|
if (ast_strlen_zero(colptr)) {
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user