[freetds] Problem with connection.

James K. Lowden jklowden at freetds.org
Mon Jan 18 19:27:48 EST 2010


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



More information about the FreeTDS mailing list