mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Report more accurate field type for OLE fields
This commit is contained in:
parent
ef3a9f99a8
commit
9a749e68fd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user