Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv2771

Modified Files:
        sql_result.mx 
Log Message:
Solve compiler warnings


U sql_result.mx
Index: sql_result.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_result.mx,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- sql_result.mx       23 Sep 2009 07:25:30 -0000      1.126
+++ sql_result.mx       23 Sep 2009 07:36:21 -0000      1.127
@@ -749,7 +749,7 @@
 
        memset(fmt, 0, (as.nr_attrs + 1) * sizeof(Column));
 
-       fmt[0].c = NULL;
+       fmt[0].c[0] = NULL;
        fmt[0].sep = _strdup(btag);
        fmt[0].seplen = _strlen(fmt[0].sep);
        fmt[0].ws = 0;
@@ -761,13 +761,13 @@
                if (!c->b)
                        break;
 
-               fmt[i].c = BATdescriptor(c->b);
-               fmt[i].ci = bat_iterator(fmt[i].c);
+               fmt[i].c[0] = BATdescriptor(c->b);
+               fmt[i].ci[0] = bat_iterator(fmt[i].c[0]);
                fmt[i].name = NULL;
                fmt[i].sep = ((i - 1) < (t->nr_cols - 1)) ? _strdup(sep) : 
_strdup(rsep);
                fmt[i].seplen = _strlen(fmt[i].sep);
-               fmt[i].type = ATOMname(fmt[i].c->ttype);
-               fmt[i].adt = fmt[i].c->ttype;
+               fmt[i].type = ATOMname(fmt[i].c[0]->ttype);
+               fmt[i].adt = fmt[i].c[0]->ttype;
                fmt[i].tostr = &_ASCIIadt_toStr;
                fmt[i].frstr = &_ASCIIadt_frStr;
                fmt[i].extra = fmt+i;


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to