freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frediano Ziglio <freddy77 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Problems with UnixODBC and FreeTDS
- Date: Sat, 07 Jul 2007 19:57:38 +0200
Il giorno ven, 06/07/2007 alle 20.57 -0400, James K. Lowden ha scritto:
> Frediano Ziglio wrote:
> > > These are the last 2 lines of the freeTDS log when there is an error:
> > >
> > > odbc.c:4396:SQLGetData(0x844d548, 12, 1, 0xb6df3608, 2048, 0xb6df3600)
> > > odbc.c:4396:SQLGetData(0x844d548, 12, 1, 0xb76728ab, -2046,
> > > 0xb6df3600)
> >
> >
> > in src/odbc/odbc.c (SQLGetData):
> >
> > #ifdef TDS_NO_DM if (cbValueMax < 0) {
> > #odbc_errs_add(&stmt->errs,
> > "HY090", NULL); ODBC_RETURN(stmt, SQL_ERROR); }#endif
> >
> > remove #if/#endif if row and should not core... but caller should
> > still not call us in such way...
>
> Freddy, why wrap error checking in #ifdef TDS_NO_DM? Seems to me it's
> *always* better to check inputs for validity.
>
This parameter should be checked by DM... removed.
I still don't understand why 0.63 didn't core...
freddy77
-
[freetds] Problems with UnixODBC and FreeTDS,
Luke Benstead, 07/06/2007
-
Re: [freetds] Problems with UnixODBC and FreeTDS,
Frediano Ziglio, 07/06/2007
-
Re: [freetds] Problems with UnixODBC and FreeTDS,
James K. Lowden, 07/06/2007
-
Re: [freetds] Problems with UnixODBC and FreeTDS,
Frediano Ziglio, 07/07/2007
-
Re: [freetds] Problems with UnixODBC and FreeTDS,
Luke Benstead, 07/09/2007
-
Re: [freetds] Problems with UnixODBC and FreeTDS,
Luke Benstead, 07/09/2007
-
Re: [freetds] Problems with UnixODBC and FreeTDS,
Frediano Ziglio, 07/10/2007
- Re: [freetds] Problems with UnixODBC and FreeTDS, Luke Benstead, 07/10/2007
- Re: [freetds] Problems with UnixODBC and FreeTDS, Frediano Ziglio, 07/11/2007
- Re: [freetds] Problems with UnixODBC and FreeTDS, Frediano Ziglio, 07/12/2007
- Re: [freetds] Problems with UnixODBC and FreeTDS, Frediano Ziglio, 07/13/2007
- Re: [freetds] Problems with UnixODBC and FreeTDS, Luke Benstead, 07/13/2007
- [freetds] dbrpcsend() returning prematurely, Tim Cook, 07/13/2007
- Re: [freetds] dbrpcsend() returning prematurely, James K. Lowden, 07/13/2007
-
Re: [freetds] Problems with UnixODBC and FreeTDS,
Frediano Ziglio, 07/10/2007
-
Re: [freetds] Problems with UnixODBC and FreeTDS,
Luke Benstead, 07/09/2007
-
Re: [freetds] Problems with UnixODBC and FreeTDS,
Luke Benstead, 07/09/2007
-
Re: [freetds] Problems with UnixODBC and FreeTDS,
Frediano Ziglio, 07/07/2007
-
Re: [freetds] Problems with UnixODBC and FreeTDS,
James K. Lowden, 07/06/2007
-
Re: [freetds] Problems with UnixODBC and FreeTDS,
Frediano Ziglio, 07/06/2007
Archive powered by MHonArc 2.6.24.