Update of /cvsroot/monetdb/pathfinder/compiler/mil
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv3998/compiler/mil
Modified Files:
Tag: Aug2009
milgen.brg
Log Message:
* fix [ monetdb-Bugs-2863458 ] PF/TIJAH: tokenize in a for-loop
The pin count of the tokenize operation result bats was always set to 1 but
should have been set to the number of times the operand is used by other
operations.
U milgen.brg
Index: milgen.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/milgen.brg,v
retrieving revision 1.221
retrieving revision 1.221.2.1
diff -u -d -r1.221 -r1.221.2.1
--- milgen.brg 24 Jul 2009 13:18:31 -0000 1.221
+++ milgen.brg 22 Sep 2009 10:22:27 -0000 1.221.2.1
@@ -10502,7 +10502,7 @@
op1->env,
op1->schema.items[0].name /* iter */,
aat_nat);
- pin(p_iter,1);
+ pin(p_iter,p->refctr);
env_add (p->env, fc_iter_a, aat_nat, p_iter);
mvar_t *new_item = new_var (p->refctr);
@@ -10548,7 +10548,7 @@
op1->schema.items[1].name /* pos */,
postype);
}
- pin(p_pos,1);
+ pin(p_pos,p->refctr);
env_add (p->env, fc_pos_a, aat_nat, p_pos);
} else if (strcmp(fcname,PFT_INFO) == 0 ) {
mvar_t *pfop_names;
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins