Skip to Content.
Sympa Menu

freetds - [freetds] dbsetnull changed

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: TDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] dbsetnull changed
  • Date: Sun, 2 Dec 2007 18:46:18 -0500

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




Archive powered by MHonArc 2.6.24.

Top of Page