Update of /cvsroot/monetdb/pathfinder/compiler/algebra/opt
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26044
Modified Files:
Tag: XQuery_0-24
opt_algebra_cse.c
Log Message:
Bugfix: Useless checking of the result attribute in matching routine.
Thx, Jan!
U opt_algebra_cse.c
Index: opt_algebra_cse.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/opt/opt_algebra_cse.c,v
retrieving revision 1.30.2.3
retrieving revision 1.30.2.4
diff -u -d -r1.30.2.3 -r1.30.2.4
--- opt_algebra_cse.c 29 May 2008 11:31:39 -0000 1.30.2.3
+++ opt_algebra_cse.c 1 Jun 2008 21:47:35 -0000 1.30.2.4
@@ -411,6 +411,7 @@
}
#if 0
+
static void
print_actmap (PFarray_t *actmap)
{
@@ -1125,10 +1126,8 @@
return false;
case la_doc_tbl:
- if ((ACTATT (L(a), a->sem.doc_tbl.res) ==
- ACTATT (L(b), b->sem.doc_tbl.res)) &&
- (ACTATT (L(a), a->sem.doc_tbl.att) ==
- ACTATT (L(b), b->sem.doc_tbl.att)))
+ if (ACTATT (L(a), a->sem.doc_tbl.att) ==
+ ACTATT (L(b), b->sem.doc_tbl.att))
return true;
return false;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins