Changeset: 6f5c02bc0e86 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6f5c02bc0e86
Modified Files:
        monetdb5/mal/mal_dataflow.c
        monetdb5/mal/mal_interpreter.c
Branch: default
Log Message:

Assertion checking already done
In BBPreleaseref the basic properties are checked.


diffs (39 lines):

diff --git a/monetdb5/mal/mal_dataflow.c b/monetdb5/mal/mal_dataflow.c
--- a/monetdb5/mal/mal_dataflow.c
+++ b/monetdb5/mal/mal_dataflow.c
@@ -614,15 +614,6 @@ DFLOWstep(FlowTask *t, FlowStatus fs)
                                        if (isaBatType(getArgType(mb, pci, i))) 
{
                                                bat bid = stk->stk[a].val.bval;
 
-#ifndef NDEBUG
-#if 0  /* when needed, enable */
-                                               if (i < pci->retc  && bid){
-                                                       BAT *b = 
BATdescriptor(bid);
-                                                       BATassertProps(b);
-                                                       BBPunfix(b->batCacheid);
-                                               }
-#endif
-#endif
                                                /* Check output properties */
                                                /* update the bigfoot 
information only if we need to gc */
                                                if (cntxt->flags & bigfootFlag)
diff --git a/monetdb5/mal/mal_interpreter.c b/monetdb5/mal/mal_interpreter.c
--- a/monetdb5/mal/mal_interpreter.c
+++ b/monetdb5/mal/mal_interpreter.c
@@ -856,16 +856,6 @@ str runMALsequence(Client cntxt, MalBlkP
                                                if (isaBatType(getArgType(mb, 
pci, i))) {
                                                        bat bid = 
stk->stk[a].val.bval;
 
-#ifndef NDEBUG 
-#if 0  /* when needed, enable */
-                                                       if (i < pci->retc  && 
bid){
-                                                               BAT *b = 
BATdescriptor(bid);
-                                                               
BATassertProps(b);
-                                                               
BBPunfix(b->batCacheid);
-                                                       }
-#endif
-#endif
-
                                                        /* update the bigfoot 
information only if we need to gc */
                                                        if (cntxt->flags & 
bigfootFlag)
                                                                
updateBigFoot(cntxt, bid, TRUE);
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to