mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Merge pull request #11 from nyalldawson/binary_type
Report more accurate field type for OLE fields
This commit is contained in:
commit
bd6aa50f73
@ -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