Update of /cvsroot/monetdb/sql/src/backends/monet4
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24082/src/backends/monet4

Modified Files:
        sql_result.mx 
Log Message:
make sure we only skip whitespace if seperators aren't whitespace



Index: sql_result.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet4/sql_result.mx,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- sql_result.mx       4 Oct 2007 10:43:38 -0000       1.66
+++ sql_result.mx       23 Oct 2007 21:53:53 -0000      1.67
@@ -459,6 +459,7 @@
                                ATOMlen(fmt[i].adt, ATOMnilptr(fmt[i].adt));
                        fmt[i].data = GDKmalloc(fmt[i].len);
                        fmt[i].c = NULL;
+                       fmt[i].ws = 0;
                        if (col->type.type->eclass == EC_DEC) {
                                fmt[i].tostr = &dec_tostr;
                                fmt[i].frstr = &dec_frstr;
@@ -712,6 +713,7 @@
        fmt[0].c = NULL;
        fmt[0].sep = _strdup("[ ");
        fmt[0].seplen = _strlen(fmt[0].sep);
+       fmt[0].ws = 0;
 
        for (i = 1; i <= t->nr_cols; i++) {
                res_col *c = t->cols + (i - 1);
@@ -732,6 +734,7 @@
                fmt[i].data = NULL;
                fmt[i].len = 0;
                fmt[i].nillen = 0;
+               fmt[i].ws = 0;
                if (c->type.type->eclass == EC_DEC) {
                        fmt[i].tostr = &dec_tostr;
                        fmt[i].frstr = &dec_frstr;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to