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

Modified Files:
      Tag: May2009
        opt_rank.c 
Log Message:
-- 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.19.2.1
diff -u -d -r1.19 -r1.19.2.1
--- opt_rank.c  15 May 2009 12:48:02 -0000      1.19
+++ opt_rank.c  29 May 2009 13:17:35 -0000      1.19.2.1
@@ -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