Report more accurate field type for OLE fields

This commit is contained in:
Nyall Dawson 2020-08-12 15:33:54 +10:00
parent ef3a9f99a8
commit 9a749e68fd

View File

@ -2290,8 +2290,9 @@ static SQLSMALLINT _odbc_get_client_type(MdbColumn *col)
#endif // returns text otherwise
case MDB_TEXT:
case MDB_MEMO:
case MDB_OLE:
return SQL_VARCHAR;
case MDB_OLE:
return SQL_LONGVARBINARY;
default:
// fprintf(stderr,"Unknown type %d\n",srv_type);
break;