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

Modified Files:
      Tag: Feb2009
        opt_complex.c 
Log Message:
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.67.2.4
retrieving revision 1.67.2.5
diff -u -d -r1.67.2.4 -r1.67.2.5
--- opt_complex.c       5 Feb 2009 10:34:21 -0000       1.67.2.4
+++ opt_complex.c       9 Apr 2009 10:22:28 -0000       1.67.2.5
@@ -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
@@ -765,6 +767,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