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: "Frediano Ziglio" <freddy77 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 09:09:14 +0200

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




Archive powered by MHonArc 2.6.24.

Top of Page