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

bugfix: check if the first and second attribute is 'equal'


diffs (16 lines):

diff -r f57b7d902923 -r cff65300716b 
pathfinder/compiler/algebra/opt/opt_algebra_cse.c
--- a/pathfinder/compiler/algebra/opt/opt_algebra_cse.c Wed Jun 16 16:39:53 
2010 +0200
+++ b/pathfinder/compiler/algebra/opt/opt_algebra_cse.c Mon Jun 28 18:13:41 
2010 +0200
@@ -974,9 +974,9 @@
         case la_bool_and:
         case la_bool_or:
         case la_to:
-            if ((ACTCOL (L(a), a->sem.binary.col1) &&
-                 ACTCOL (L(b), b->sem.binary.col1)) ==
-                (ACTCOL (L(a), a->sem.binary.col2) &&
+            if ((ACTCOL (L(a), a->sem.binary.col1) ==
+                 ACTCOL (L(b), b->sem.binary.col1)) &&
+                (ACTCOL (L(a), a->sem.binary.col2) ==
                  ACTCOL (L(b), b->sem.binary.col2)))
                 return true ;
 
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to