Changeset: fedb6ce3592b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=fedb6ce3592b
Modified Files:
        monetdb5/optimizer/opt_wrapper.c
Branch: default
Log Message:

Keep the blocks always.
Error cases in the  optimizer may later be dealt with differently,
e.g. returning -1. (todo)


diffs (12 lines):

diff --git a/monetdb5/optimizer/opt_wrapper.c b/monetdb5/optimizer/opt_wrapper.c
--- a/monetdb5/optimizer/opt_wrapper.c
+++ b/monetdb5/optimizer/opt_wrapper.c
@@ -156,7 +156,7 @@ str OPTwrapper (Client cntxt, MalBlkPtr 
                ((sizeof( MalBlkRecord) +mb->ssize * offsetof(InstrRecord, 
argv)+ mb->vtop * sizeof(int) /* argv estimate */ +mb->vtop* sizeof(VarRecord) 
+ mb->vsize*sizeof(VarPtr)+1023)/1024),
                usec);
        QOTupdateStatistics(curmodnme,actions,usec);
-       if( actions)
+       if( actions >= 0)
                addtoMalBlkHistory(mb);
        if ( mb->errors)
                throw(MAL, optimizer, PROGRAM_GENERAL ":%s.%s", modnme, fcnnme);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to