Changeset: ddac65e3913a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ddac65e3913a
Modified Files:
monetdb5/extras/dvf/dvf.c
Branch: DVframework
Log Message:
fixed bug. Refreshing the mb->stop, while locating the start instruction for
the 2. stage
diffs (24 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
@@ -354,7 +354,7 @@ str plan_modifier(Client cntxt, MalBlkPt
malGarbageCollector(mb);
/*chkProgram(cntxt->fdout, cntxt->nspace, mb);*/
- /*printFunction(cntxt->fdout,mb, 0, LIST_MAL_EXPLAIN); */
+ /*printFunction(cntxt->fdout,mb, 0, LIST_MAL_EXPLAIN);*/
/*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. */
@@ -362,6 +362,11 @@ str plan_modifier(Client cntxt, MalBlkPt
{
InstrPtr ip = mb->stmt[i];
+ if(ip == NULL)
+ {
+ mb->stop = i;
+ break;
+ }
/* check for
* dvf.plan_modifier(...);
*/
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list