ODBC: Fix DataFormatException getting Time value from SQL Server (#3802)

This commit is contained in:
MailShop 2023-03-17 20:51:57 +00:00 committed by GitHub
parent 85f74867ef
commit abd06ab4d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,6 +160,7 @@ void ODBCMetaColumn::init()
setType(MetaColumn::FDT_DATE); break;
case SQL_TYPE_TIME:
case -154: //MS SQL Server custom type SQL_SS_TIME2
setType(MetaColumn::FDT_TIME); break;
case SQL_TYPE_TIMESTAMP: