Changeset: 4896d8cd6d4a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4896d8cd6d4a
Modified Files:
        pathfinder/compiler/algebra/opt/opt_complex.c
Branch: Mar2011
Log Message:

backout of changeset 21fdec261913
"
 changeset:   38977:21fdec261913
 user:        Jeroen Weijers <[email protected]>
 date:        Tue Jan 18 11:05:00 2011 +0100
 files:       pathfinder/compiler/algebra/opt/opt_complex.c
 description:
 SMall optimisation for rank (implemented by Jan)
"
as this makes 150 of the 1877 pathfinder tests
fail with SIGNIFICANT differences.


diffs (13 lines):

diff --git a/pathfinder/compiler/algebra/opt/opt_complex.c 
b/pathfinder/compiler/algebra/opt/opt_complex.c
--- a/pathfinder/compiler/algebra/opt/opt_complex.c
+++ b/pathfinder/compiler/algebra/opt/opt_complex.c
@@ -2140,8 +2140,7 @@
             /* Replace the rownumber operator by a rowrank operator
                if it is only used to provide the correct link to
                the outer relation in a ferry setting. */
-            if (PFprop_req_link_col (p->prop, p->sem.sort.res) ||
-                PFord_count (p->sem.sort.sortby) == 1) {
+            if (PFprop_req_link_col (p->prop, p->sem.sort.res)) {
                 PFalg_schema_t schema;
                 schema.count = PFord_count (p->sem.sort.sortby);
                 schema.items = PFmalloc (schema.count *
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to