mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
cdr_adaptive_odbc: Add support for SQL_DATETIME field type.
ASTERISK-30023 Change-Id: I0e1697f6af044e9eab7e07bbaeeffd1bb68ac34a
This commit is contained in:
committed by
Kevin Harwell
parent
8500210611
commit
ec8ab44b7f
@@ -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