Update of /cvsroot/monetdb/pathfinder/compiler/algebra/opt
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv18694/compiler/algebra/opt

Modified Files:
        opt_complex.c 
Log Message:
propagated changes of Thursday Apr 09 2009
from the Feb2009 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/04/09 - sjoerd: compiler/algebra/opt/opt_complex.c,1.67.2.5
Added a recursion check in opt_complex.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


U opt_complex.c
Index: opt_complex.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/opt/opt_complex.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- opt_complex.c       10 Mar 2009 12:20:40 -0000      1.72
+++ opt_complex.c       9 Apr 2009 18:49:02 -0000       1.73
@@ -55,6 +55,8 @@
 /* Easily access subtree-parts */
 #include "child_mnemonic.h"
 
+#include "oops.h"
+
 #define SEEN(p) ((p)->bit_dag)
 
 /* lookup the input name of an output column
@@ -828,6 +830,8 @@
     else
         SEEN(p) = true;
 
+    PFrecursion_fence();
+
     /* apply complex optimization for children */
     for (unsigned int i = 0; i < PFLA_OP_MAXCHILD && p->child[i]; i++)
         modified = opt_complex (p->child[i]) || modified;


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to