Skip to Content.
Sympa Menu

freetds - Re: Differences in FreeTDS and Sybase ?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Differences in FreeTDS and Sybase ?
  • Date: Mon, 22 Oct 2001 21:19:11 -0400 (EDT)



I guess I should mention that this only affects messages sent without a
valid database connection.

On Mon, 22 Oct 2001, Brian Bruns wrote:

>
> This was discussed some months ago on the list, along with a couple ways
> to go about solving it. But, all of them involved breaking the libtds
> interface, but we basically decided that was acceptable IIRC, just no one
> actually did the work ;-)
>
> Hmmm..it doesn't look like it made its way into the BUGS file either.
>
> Brian
>
> On Mon, 22 Oct 2001, Norman Palardy wrote:
>
> > I'm using my build of FreeTDS on OS X and noticing some behavioural
> > differences
> >
> > For instance the exact same piece of code on Solaris produces the
> > following from the msg_handler that I've installed in a dblib program
> >
> > ./sybping SQLSERVER ; echo $?
> > DB-Library message handler <<<<<<<<<<<<<<<< a note to myself that the
> > msg handler gets called
> > Msg 4002, Level 14, State 1
> > Server 'pipedevt'
> > Line 1
> >
> > Login failed.
> > DB-Library error handler
> > DB-Library: Login incorrect.
> > 255
> >
> > On the FreeTDS setup it produces ( Note the missing call to the msg
> > handler )
> >
> > ./sybping SQLSERVER ; echo $?
> > DB-Library: Login incorrect.
> > NOT connected
> > 0
> >
> > Both the interfaces files are pointed at the same SQL Server so that
> > doesn't account for the difference.
> >
> > Is there some behavioral difference between FreeTDS and Sybase' dblib
> > that I'm not aware of ?
> > If so where might documentation for this be as I don't see mention of
> > this in the FAQ's ?
> >
> >
> > ---
> > You are currently subscribed to freetds as: [camber AT ais.org]
> > To unsubscribe, forward this message to $subst('Email.Unsub')
> >
>
>
> ---
> You are currently subscribed to freetds as: [camber AT ais.org]
> To unsubscribe, forward this message to $subst('Email.Unsub')
>





Archive powered by MHonArc 2.6.24.

Top of Page