Skip to Content.
Sympa Menu

freetds - Re: [freetds] Problem with connection.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Problem with connection.
  • Date: Thu, 21 Jan 2010 15:07:27 +0100

2010/1/21 James K. Lowden <jklowden AT freetds.org>:
> Frediano Ziglio wrote:
>> there is no direct
>> support for bigint in dblib... you should use numeric. DBINT8/DBINT64
>> would be an extension to dblib.
>
> The vendors, each for their own reasons, haven't kept their db-libs up to
> date.  So I guess it's up to us.
>
>> It seems Sybase defined support for
>> bigint only for ctlib (odbc already support 64bit integers) using
>> CS_BIGINT. We could define an extension for this binding and type.
>
> That's what I think we should do.  I'm just hoping "we" is a man with an
> itch and a patch.
>
>> tds_willconvert and tds_convert already support SYBINT8 so the
>> extension would affect only dblib library not libTDS code.
>
> Excellent.
>

Something like that (not tested) ?

I also wrote a patch (quite small...) to package using bzip2 instead
of gzip. Do you think is worst applying it?

freddy77

Attachment: 01-dblib_bigint.diff
Description: Binary data

Attachment: 02-bzip2.diff
Description: Binary data




Archive powered by MHonArc 2.6.24.

Top of Page