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

Fix initStack: if var is column, initialize type with TYPE_bat.


diffs (16 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
@@ -148,7 +148,11 @@
                                rhs = getVarConstant(mb, i);
                                VALcopy(lhs, rhs);
                        }
-               } else{
+               } else if (getVarType(mb, i).col) {
+                       lhs->vtype = TYPE_bat;
+                       lhs->val.bval = 0;
+                       lhs->len = 0;
+               } else {
                        lhs->vtype = getVarGDKType(mb, i);
                        lhs->val.pval = 0;
                        lhs->len = 0;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to