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: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Problem with connection.
  • Date: Mon, 18 Jan 2010 19:27:48 -0500

Fernando wrote:
> I have to bind a int64 (long) data, and
> looking through the headers files, I can't find something like
> "DBINT64".
> I've looked at tds_sysdep_public.h file and i found this:
>
> #define tds_sysdep_int64_type long
>
> but in the sybdb.h file, there is no typedef for this, only
>
> typedef tds_sysdep_int32_type DBINT;
>
> So my question is: Can I put this typedef tds_sysdep_int64_type
> DBINT64 in the sybdb.h? or use the SYBINT8 type??

Well, maybe it should be DBBIGINT. To be of much use, we also need
DBBIGBIND, and modifications to tds_willconvert() and tds_convert().

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page