Skip to Content.
Sympa Menu

freetds - Re: [freetds] Problems with UnixODBC and FreeTDS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Luke Benstead" <kazade AT gmail.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Problems with UnixODBC and FreeTDS
  • Date: Fri, 13 Jul 2007 10:28:52 +0100

Thank you! That works fine. Sorry I didnt see your patch email until it was
too late. My code works with the latest nightly, thanks for all your effort!

Luke.

On 13/07/07, Frediano Ziglio <freddy77 AT gmail.com> wrote:

2007/7/12, Frediano Ziglio <freddy77 AT gmail.com>:

>
> >
> >
> > Ok, I understand the problem. When text is empty SQL_NO_DATA is
returned
> > and string is not null-terminated. On the first call SQLGetData should
> > return SQL_SUCCESS instead. Note that pyODBC should check SQLGetData
> > results. Currently I'm attempting a course at Milano so I'm not able
to do a
> > patch for this problem... expect a patch for next week... if I don't
find an
> > alternate way before...
> >
> >
>
> Could you try this patch ??
>

Included in CVS (perhaps in current snapshot too) with a small fix. Test
works correctly.

freddy77
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds





Archive powered by MHonArc 2.6.24.

Top of Page