Changeset: 5e1351808d45 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/5e1351808d45
Modified Files:
monetdb5/modules/mal/pp_slicer.c
Branch: default
Log Message:
input is read only (for the nth slice).
diffs (11 lines):
diff --git a/monetdb5/modules/mal/pp_slicer.c b/monetdb5/modules/mal/pp_slicer.c
--- a/monetdb5/modules/mal/pp_slicer.c
+++ b/monetdb5/modules/mal/pp_slicer.c
@@ -172,6 +172,7 @@ SLICERnth_slice(Client cntxt, MalBlkPtr
BAT *b = BATdescriptor(*bid);
if (!b)
return createException(SQL, "slicer.nth_slice", SQLSTATE(HY002)
RUNTIME_OBJECT_MISSING);
+ b = BATsetaccess(b, BAT_READ);
BAT *r = NULL;
if (BATcount(b) < s) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]