SQL_DESC_UNSIGNED column attribute returns the wrong value for tinyint SQL Server columns

Sergio delaCruz <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Organization Oracle Corporation
Message-ID <[email protected]>
Hi:

I'm a developer for MySQL Workbench. We support FreeTDS to communicate 
with MS SQL Server and Sybase ASE in our Migration Wizard.

When dealing with a bug in our codebase 
(http://bugs.mysql.com/bug.php?id=68084) we realized that the return 
value that we get when requesting the SQL_DESC_UNSIGNED attribute via 
the SQLColAttribute function for a SQL Server TINYINT column differs 
from what one would expect (SQL_TRUE). Microsoft's drivers return the 
correct value (TINYINT is by definition unsigned in T-SQL).

Is this a bug in FreeTDS? Can you comment on this?

Regards,

-- 
Sergio A. de la Cruz Rodriguez
Software Developer, MySQL Developer Tools
Oracle Corp.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.