Changeset: 0c06928921c6 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0c06928921c6
Modified Files:
monetdb5/extras/dvf/dvf.c
Branch: DVframework
Log Message:
go till mb->stop not to the limit while locating the start program counter for
the recursive call.
diffs (33 lines):
diff --git a/monetdb5/extras/dvf/dvf.c b/monetdb5/extras/dvf/dvf.c
--- a/monetdb5/extras/dvf/dvf.c
+++ b/monetdb5/extras/dvf/dvf.c
@@ -360,15 +360,15 @@ str plan_modifier(Client cntxt, MalBlkPt
/*printFunction(cntxt->fdout,mb, 0, LIST_MAL_ALL); */
/* relocate the startpc, the instruction to proceed with the execution.
Because it might be changed by the optimizers. */
- for (i = 0; i < limit; i++)
+ for (i = 0; i < mb->stop; i++)
{
InstrPtr ip = mb->stmt[i];
- if(ip == NULL)
- {
- mb->stop = i;
- break;
- }
+// if(ip == NULL)
+// {
+// mb->stop = i;
+// break;
+// }
/* check for
* dvf.plan_modifier(...);
*/
@@ -376,6 +376,7 @@ str plan_modifier(Client cntxt, MalBlkPt
getFunctionId(ip) == planmodifierRef)
{
startpc = i;
+ break;
}
}
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list