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

Modified Files:
        sql_gencode.mx 
Log Message:
propagated changes of Thursday Oct 08 2009
from the Nov2009 branch to the development trunk

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/10/08 - sjoerd: src/backends/monet5/sql_gencode.mx,1.336.2.2
  propagated changes of Thursday Oct 08 2009
  from the Aug2009 branch to the Nov2009 branch
  
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2009/10/08 - nielsnes: src/backends/monet5/sql_gencode.mx,1.332.2.5
    fixed bug in mvc last entry and
    in sql_gencode create buffer for each argument
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: sql_gencode.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_gencode.mx,v
retrieving revision 1.337
retrieving revision 1.338
diff -u -d -r1.337 -r1.338
--- sql_gencode.mx      8 Oct 2009 11:20:46 -0000       1.337
+++ sql_gencode.mx      8 Oct 2009 13:35:32 -0000       1.338
@@ -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