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

Modified Files:
        opt_rank.c 
Log Message:
propagated changes of Friday May 29 2009 - Saturday May 30 2009
from the May2009 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/05/29 - tsheyar: compiler/algebra/opt/opt_rank.c,1.19.2.1
-- Avoid infinite loops.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


U opt_rank.c
Index: opt_rank.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/opt/opt_rank.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- opt_rank.c  15 May 2009 12:48:02 -0000      1.19
+++ opt_rank.c  30 May 2009 04:29:57 -0000      1.20
@@ -971,7 +971,8 @@
                                   sortby),
                               L(p)->sem.rank_opt.res,
                               lsortby));
-                    modified = true;
+
+                    /* don't mark plan as modified to avoid endless loops */
                     break;
                 }
                 else {
@@ -1030,7 +1031,8 @@
                                lrank,
                                p->sem.rank_opt.res,
                                new_sortby));
-                    modified = true;
+
+                    /* don't mark plan as modified to avoid endless loops */
                     break;
                 }
             }


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to