Changeset: f1d36c6ad7a5 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f1d36c6ad7a5 Modified Files: gdk/gdk_batop.c Branch: Jul2017 Log Message:
You cannot sort non-"linear" types. diffs (15 lines): diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c --- a/gdk/gdk_batop.c +++ b/gdk/gdk_batop.c @@ -1378,6 +1378,11 @@ BATsort(BAT **sorted, BAT **order, BAT * GDKerror("BATsort: b must exist\n"); return GDK_FAIL; } + if (!ATOMlinear(b->ttype)) { + GDKerror("BATsort: type %s cannot be sorted\n", + ATOMname(b->ttype)); + return GDK_FAIL; + } if (o != NULL && (ATOMtype(o->ttype) != TYPE_oid || /* oid tail */ BATcount(o) != BATcount(b) || /* same size as b */ _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list