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

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAHt6W4eo+rVzTaiBCsU_wD0W-owkR--oycmobfT4NoMVTaRG=g@mail.gmail.com>
WAS a bug. Fixed in 0.91 branch and master (test only on master)

Frediano


2013/4/1 Sergio delaCruz <[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.
>
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
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.