Changeset: e77ef07292d0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e77ef07292d0
Modified Files:
monetdb5/modules/mal/manifold.c
Branch: default
Log Message:
Properly set the segbase
diffs (15 lines):
diff --git a/monetdb5/modules/mal/manifold.c b/monetdb5/modules/mal/manifold.c
--- a/monetdb5/modules/mal/manifold.c
+++ b/monetdb5/modules/mal/manifold.c
@@ -292,7 +292,10 @@ MANIFOLDevaluate(Client cntxt, MalBlkPtr
mat[0].bi = bat_iterator(mat[0].b);
mat[0].first = (void *) Tloc(mat[0].b, BUNfirst(mat[0].b));
mat[0].last = (void *) Tloc(mat[0].b, BUNlast(mat[0].b));
- BATseqbase(mat[0].b, mat[mut.fvar].b->H->seq);
+ if ( mat[mut.fvar].b->htype == TYPE_void)
+ BATseqbase(mat[0].b, mat[mut.fvar].b->H->seq);
+ else
+ BATseqbase(mat[0].b, 0);
mut.pci = copyInstruction(pci);
mut.pci->fcn = fcn;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list