Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32696
Modified Files:
sql_result.mx
Log Message:
initialize the new field nildata
U sql_result.mx
Index: sql_result.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_result.mx,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- sql_result.mx 19 Jun 2008 09:45:14 -0000 1.87
+++ sql_result.mx 23 Jun 2008 21:19:52 -0000 1.88
@@ -468,6 +468,8 @@
fmt[i].ws = !(has_whitespace(fmt[i].sep));
fmt[i].quote = ssep?ssep[0]:0;
fmt[i].nullstr = _strdup(ns);
+ fmt[i].nildata = GDKmalloc(fmt[i].nillen);
+ memcpy(fmt[i].nildata, ATOMnilptr(fmt[i].adt),
fmt[i].nillen);
if (col->type.type->eclass == EC_DEC) {
fmt[i].tostr = &dec_tostr;
fmt[i].frstr = &dec_frstr;
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins