Connection problem with DBD::Sybase+FreeTDS to access MSSQL 6.5

Bernard.ROYET at sncf.fr Bernard.ROYET at sncf.fr
Wed Dec 8 08:55:34 EST 1999


You're right !
I have only change in tds.h:
	typedef long TDS_INT;
	typedef unsigned long TDS_UINT;
by
	typedef int TDS_INT;
	typedef unsigned int TDS_UINT;

And it's working ! with FreeTDS 0.50 (with 0.47 I got a lot of unknow marker
!)

Thanks a lot.
Regards

Royet Bernard
Ingres/OpenIngres DBA
SNCF (French Railways)
bernard.royet at sncf.fr

> ----------
> De : 	Brian Bruns[SMTP:camber at umcc.ais.org]
> Répondre à : 	TDS Development Group
> Date :	mercredi 8 décembre 1999 13:59
> A :	TDS Development Group
> Objet :	[freetds] Re: Connection problem with DBD::Sybase+FreeTDS to
> access MSSQL 6.5
> 
> 
> This is probably a 64bit issue.  I have a DEC machine I can get to at
> work, so I'll see if I can sort it out there . Off the top of my head
> though, you may want to change the defines in tds.h so that TDS_INT is
> 32bit and not 64bit, etc...
> 
> Brian
> 
> On Wed, 8 Dec 1999 Bernard.ROYET at sncf.fr wrote:
> 
> > I am trying to access a MS-SQLServer 6.5 installation via DBD::Sybase
> (0.21)
> > + FreeTDS (0.47).
> > Everything works fine on a Sparc 5 with Solaris 7.
> > But I can't connect with a Dec Unix Box (OSF 4.0F) with the exactly same
> > configuration (same interfaces file also)
> > Here is a part of the freetds.log
> > 1999-12-07 10:27:04 inside tds_process_login_tokens()
> > 1999-12-07 10:27:04 inside tds_process_default_tokens() marker is aa
> > 1999-12-07 10:27:04 inside tds_process_default_tokens() marker is fd
> > 1999-12-07 10:27:04 leaving tds_process_login_tokens() returning 0
> > 1999-12-07 10:27:04 leaving ct_connect() returning 0
> > 
> > Anyone got an idea ?
> > (I'm using DBI 1.13)
> > TIA
> > 
> > Royet Bernard
> > Ingres/OpenIngres DBA
> > SNCF (French Railways)
> > bernard.royet at sncf.fr
> > 
> 
> 
> ---
> You are currently subscribed to freetds as: bernard.royet at sncf.fr
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
> 



More information about the FreeTDS mailing list