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

Modified Files:
      Tag: Aug2009
        sql_gencode.mx 
Log Message:
fixed bug in mvc last entry and
in sql_gencode create buffer for each argument


U sql_gencode.mx
Index: sql_gencode.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_gencode.mx,v
retrieving revision 1.332.2.4
retrieving revision 1.332.2.5
diff -u -d -r1.332.2.4 -r1.332.2.5
--- sql_gencode.mx      8 Oct 2009 10:47:55 -0000       1.332.2.4
+++ sql_gencode.mx      8 Oct 2009 13:21:51 -0000       1.332.2.5
@@ -2068,12 +2068,12 @@
        if (f->ops) {
                int argc = 0;
                node *n;
-               char *buf = GDKmalloc(SMALLBUFSIZ);
 
                for (n = f->ops->h; n; n = n->next, argc++) {
                        sql_arg *a = n->data;
                        int type = a->type.type->localtype;
                        int varid = 0;
+                       char *buf = GDKmalloc(SMALLBUFSIZ);
 
                        if (a->name) 
                                (void) snprintf(buf, SMALLBUFSIZ, "A%s", 
a->name);


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) 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 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to