Changeset: 6c3e7b40e3ee for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6c3e7b40e3ee
Modified Files:
        monetdb5/modules/mal/wlc.c
Branch: default
Log Message:

Error checking.


diffs (12 lines):

diff --git a/monetdb5/modules/mal/wlc.c b/monetdb5/modules/mal/wlc.c
--- a/monetdb5/modules/mal/wlc.c
+++ b/monetdb5/modules/mal/wlc.c
@@ -673,6 +673,8 @@ WLCdelete(Client cntxt, MalBlkPtr mb, Ma
        tpe= getArgType(mb,pci,3);
        if (isaBatType(tpe) ){
                b= BATdescriptor(bid);
+               if (b == NULL)
+                       throw(MAL, "wlc.delete", RUNTIME_OBJECT_MISSING); 
                o = b->tseqbase;
                last = o + BATcount(b);
                if( b->ttype == TYPE_void){
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to