[freetds] dbsetnull changed

James K. Lowden jklowden at freetds.org
Sun Dec 2 18:46:18 EST 2007


The nightly snapshot will contain changes you might want to know about.  

I rewrote dbsetnull() this weekend, and added to dbconvert the ability to
use user-defined null representations.  So, if you want SYBCHAR columns to
appear as "<NULL>" instead of "\0", that's now your choice. 

Overall there were some 400 lines removed and added, according to CVS. 
Everything *seems* to work, except for Frediano's new null unit tests
(which were failing before).  I haven't looked into that.  But the code is
new and the real world inevitably turns up use cases the programmer
doesn't foresee, so be warned.  

The work goes some distance toward addressing the issue Simon Talbot
raised last week.  To fix it fully, I think dbbind() needs a little
attention.  

Enjoy.

--jkl



More information about the FreeTDS mailing list