freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Crash selecting a blank TEXT field
- Date: Mon, 4 Jun 2007 17:21:14 +0200
>
> Um.. sorry for probably sounding dumb but whats DM? I'm using
> PyODBC if
> that's what you mean?
>
> Luke.
>
DM is the Driver Manager, usually unixODBC or iODBC under *nix.
In this case you should have a stack like
Your app (run by Python)
PyODBC
DM
FreeTDS ODBC Driver
Now probably PyODBC send a wrong BufferLength, DM do not catch this
problem and wrongly pass this value to our driver... which correctly
core...
freddy77
> On 04/06/07, ZIGLIO, Frediano, VF-IT
> <Frediano.Ziglio AT vodafone.com> wrote:
> >
...
> > > odbc.c:4396:SQLGetData(0x844d548, 12, 1, 0xb6df3608,
> 2048, 0xb6df3600)
> > > odbc.c:4396:SQLGetData(0x844d548, 12, 1, 0xb76728ab, -2046,
> > > 0xb6df3600)
> > >
> >
> > This has nothing to do with TEXT problem. Upper layer pass
> a value <0
> > (-2046) for BufferLength, this should be blocked by DM and
> not used by
> > caller! Which DM are you using?
> >
> > > That's the very end of the log. If you need any more info
> > > just let me know.
> > >
> > > Luke.
> > >
> >
-
Re: [freetds] Crash selecting a blank TEXT field,
ZIGLIO, Frediano, VF-IT, 06/01/2007
-
Re: [freetds] Crash selecting a blank TEXT field,
Luke Benstead, 06/04/2007
-
Re: [freetds] Crash selecting a blank TEXT field,
ZIGLIO, Frediano, VF-IT, 06/04/2007
-
Re: [freetds] Crash selecting a blank TEXT field,
Luke Benstead, 06/04/2007
-
Re: [freetds] Crash selecting a blank TEXT field,
ZIGLIO, Frediano, VF-IT, 06/04/2007
- Re: [freetds] Crash selecting a blank TEXT field, Luke Benstead, 06/04/2007
-
Re: [freetds] Crash selecting a blank TEXT field,
ZIGLIO, Frediano, VF-IT, 06/04/2007
-
Re: [freetds] Crash selecting a blank TEXT field,
Luke Benstead, 06/04/2007
-
Re: [freetds] Crash selecting a blank TEXT field,
ZIGLIO, Frediano, VF-IT, 06/04/2007
-
Re: [freetds] Crash selecting a blank TEXT field,
Luke Benstead, 06/04/2007
Archive powered by MHonArc 2.6.24.