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

Don't use BBP_cache without checking whether it is NULL.
Using BBP_desc is save.


diffs (12 lines):

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
@@ -667,7 +667,7 @@ str runMALsequence(Client cntxt, MalBlkP
                                        assert(bid == 0 ||
                                                   bid == bat_nil ||
                                                   t == TYPE_any ||
-                                                  
ATOMtype(BBP_cache(bid)->ttype) == ATOMtype(t));
+                                                  
ATOMtype(BBP_desc(bid)->ttype) == ATOMtype(t));
                                } else {
                                        assert(t == stk->stk[a].vtype);
                                }
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to