[freetds] Problems with UnixODBC and FreeTDS

Luke Benstead kazade at gmail.com
Fri Jul 13 05:28:52 EDT 2007


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
>


More information about the FreeTDS mailing list