Update of /cvsroot/monetdb/pathfinder/compiler/algebra/opt
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7133/algebra/opt
Modified Files:
opt_join_pd.c
Log Message:
-- Remove unused variable.
U opt_join_pd.c
Index: opt_join_pd.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/opt/opt_join_pd.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- opt_join_pd.c 3 Apr 2008 15:26:51 -0000 1.45
+++ opt_join_pd.c 5 Apr 2008 08:20:33 -0000 1.46
@@ -190,14 +190,11 @@
*rp;
PFalg_att_t latt,
ratt;
- unsigned int lp_child;
PFla_op_t *next_join = NULL;
bool modified = false;
assert (p);
-#define LP (p->child[lp_child])
-
/* only process equi-joins */
assert (p->kind == la_eqjoin_unq);
@@ -239,13 +236,11 @@
rp = R(p);
latt = p->sem.eqjoin_unq.att1;
ratt = p->sem.eqjoin_unq.att2;
- lp_child = 0;
} else {
lp = R(p);
rp = L(p);
latt = p->sem.eqjoin_unq.att2;
ratt = p->sem.eqjoin_unq.att1;
- lp_child = 1;
}
/* In case the join does nothing we may safely discard it. */
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins