Update of /cvsroot/monetdb/pathfinder/compiler/algebra/map
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25382/algebra/map

Modified Files:
      Tag: XQuery_0-24
        map_ori_names.c 
Log Message:
-- avoid double memory allocation


U map_ori_names.c
Index: map_ori_names.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/map/map_ori_names.c,v
retrieving revision 1.33.2.2
retrieving revision 1.33.2.3
diff -u -d -r1.33.2.2 -r1.33.2.3
--- map_ori_names.c     2 Jun 2008 08:44:29 -0000       1.33.2.2
+++ map_ori_names.c     13 Jun 2008 14:02:29 -0000      1.33.2.3
@@ -348,8 +348,6 @@
                we introduce a projection that removes the second join
                attribute thus maintaining the schema of the duplicate
                aware eqjoin operator. */
-            projlist = PFmalloc (p->schema.count *
-                                 sizeof (PFalg_proj_t));
             for (unsigned int i = 0; i < p->schema.count; i++) {
                 ori = ONAME(p, p->schema.items[i].name);
                 projlist[i] = proj (ori, ori);


-------------------------------------------------------------------------
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-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to