Changeset: c7c0fdc4a5d4 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c7c0fdc4a5d4
Modified Files:
monetdb5/modules/mal/array.mx
Branch: sciql
Log Message:
Correctly setting the 'hrevsorted' property.
This solves some assertions triggered when '--debug=10'.
diffs (24 lines):
diff --git a/monetdb5/modules/mal/array.mx b/monetdb5/modules/mal/array.mx
--- a/monetdb5/modules/mal/array.mx
+++ b/monetdb5/modules/mal/array.mx
@@ -453,8 +453,8 @@ ARRAYslice(Client cntxt, MalBlkPtr mb, M
BATseqbase(res, 0);
res->hdense = TRUE;
BATkey(res, TRUE);
- res->hsorted = res->hrevsorted = 1;
- res->tsorted = res->trevsorted = 1;
+ res->hsorted = res->tsorted = 1;
+ res->hrevsorted = res->trevsorted = 0;
res->T->nonil = TRUE;
BBPkeepref(*ret = res->batCacheid);
return MAL_SUCCEED;
@@ -485,7 +485,8 @@ ARRAYfiller(Client cntxt, MalBlkPtr mb,
BATseqbase(bn, 0);
bn->hdense = TRUE;
BATkey(bn, TRUE);
- bn->hsorted = bn->hrevsorted = 1;
+ bn->hsorted = 1;
+ bn->hrevsorted = 0;
bn->tsorted = bn->trevsorted = 1;
switch(type){
case TYPE_bit:
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list