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

Fix incorrect index access in Pathfinder optimization.


diffs (12 lines):

diff -r 6bfdbf0b3243 -r 2b137ecd98fa 
pathfinder/compiler/algebra/opt/opt_complex.c
--- a/pathfinder/compiler/algebra/opt/opt_complex.c     Fri Oct 22 14:57:25 
2010 +0200
+++ b/pathfinder/compiler/algebra/opt/opt_complex.c     Sat Oct 23 20:14:45 
2010 +0200
@@ -413,7 +413,7 @@
                     col2 = p->sem.thetajoin.pred[i].right,
                     new  = PFcol_new (col1),
                     tmp;
-        switch (p->sem.thetajoin.pred[0].comp) {
+        switch (p->sem.thetajoin.pred[i].comp) {
             case alg_comp_eq:
                 res = eq (res, new, col1, col2);
                 break;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to