Changeset: 4290963f33f6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/4290963f33f6
Modified Files:
        monetdb5/optimizer/opt_reorder.c
Branch: default
Log Message:

Remove assertions where you should not need them


diffs (13 lines):

diff --git a/monetdb5/optimizer/opt_reorder.c b/monetdb5/optimizer/opt_reorder.c
--- a/monetdb5/optimizer/opt_reorder.c
+++ b/monetdb5/optimizer/opt_reorder.c
@@ -246,9 +246,6 @@ OPTpostponeAppends(Client cntxt, MalBlkP
        for( i=0; i<limit; i++){
                if ( getModuleId(old[i]) == sqlRef && getFunctionId(old[i]) == 
appendRef){
                        // only postpone under strict conditions
-                       assert( isVarConstant(mb,getArg(old[i],2)));
-                       assert( isVarConstant(mb,getArg(old[i],3)));
-                       assert( isVarConstant(mb,getArg(old[i],4)));
                        if( actions )
                                pushInstruction(mb, old[i]);
                        else {
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to