Re: SQLGetData (bug in ODBC driver)

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <1213777285.7316.1.camel@freddy>
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.

freddy77
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.