Skip to Content.
Sympa Menu

freetds - Re: Bug: dblib.c DBROWS on Solaris

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: Bug: dblib.c DBROWS on Solaris
  • Date: Thu, 22 Nov 2001 18:28:51 -0500 (EST)



Commited to CVS.

Brian

On Wed, 21 Nov 2001, Stan Liberman wrote:

> Hi,
>
> I've discovered an elusive problem in dblib on Solaris.
> DBROWS function (apparently not many people use it) causes a core
> on Solaris when called and no rows are present. On all other platforms
> we've run it it doesn't crash - we ran it on BSD's and SCO Open Server.
>
> The patch that we use to fix the issue is as follows:
> Index: dblib.c
> ===================================================================
> RCS file: /cvsroot/freetds/freetds/src/dblib/dblib.c,v
> retrieving revision 1.5
> diff -r1.5 dblib.c
> 1363a1364
> > if (!resinfo) return FALSE;
>
>
> I haven't digged deeper into the core to find the ultimate source, but
> it has to be something Solaris specific.
>
> Thanks,
> Stan Liberman
>
> Applications Developer
> Vail Systems, Inc.
>
> ---
> 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