[freetds] SQLGetData (bug in ODBC driver)

Frediano Ziglio freddy77 at gmail.com
Wed Jun 18 04:21:25 EDT 2008

Il giorno mer, 18/06/2008 alle 00.16 -0400, James K. Lowden ha scritto:
> Suren A. Chilingaryan wrote:
> > 
> > I have checked the modified patch against 0.82. Unfortunately, the first
> > two chunks are failing. The first one fails just on the patch command
> > and second one could be applied, but breaks compilation. However, they
> > are not really related to the described problem and could be omitted.
> > The patch without them works fine for me. Stripped version of patch is
> > available here:
> > http://dside.dyndns.org/tmp/SQLGetData.utf8.odbc.c-r1.diff
> Excellent, thank you.  Applied to the 0.82 branch.  
> > 
> > I'll will try to provide unit tests, but I would need a little bit more
> > time for that.
> I hope you will find the time.  It would be valuable.  
> Thanks again for following up.  
> Namaskaram, 

Yes, patch fix a very nasty problem. However I think this as just a
temporarily workaround. The problem is that is fixes conversions from
binary to char but not for all conversions.


More information about the FreeTDS mailing list