Changeset: f3aa85efe817 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f3aa85efe817
Modified Files:
        monetdb5/modules/mal/array.mx
Branch: SciQL-2
Log Message:

ARRAYtiles*(): just in case: slightly more info about non-aligned heads


diffs (25 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
@@ -697,12 +697,19 @@ ARRAYtiles_@4_@1_@8(Client cntxt, MalBlk
                        throw(MAL, "array.@4", "head of offset BAT %d is not 
dense", i);
                }
                if (bDims[i]->hseqbase != arrbase || BATcount(bDims[i]) != 
arrcnt) {
+                       oid arrbaseX = bDims[i]->hseqbase;
+                       BUN arrcntX = BATcount(bDims[i]);
                        AGGR_CLEANUP();
-                       throw(MAL, "array.@4", "head of dimension BAT %d is not 
aligned with head of value BAT", i);
+                       throw(MAL, "array.@4", "head of dimension BAT %d is not 
aligned with head of value BAT (value: "OIDFMT", dim[%d]: "OIDFMT", value: 
"BUNFMT", dim[%d]: "BUNFMT")",
+                               i, arrbase, i, arrbaseX, arrcnt, i, arrcntX);
+
                }
                if (bOffsets[i]->hseqbase != offbase || BATcount(bOffsets[i]) 
!= offcnt) {
+                       oid offbaseX = bOffsets[i]->hseqbase;
+                       BUN offcntX = BATcount(bOffsets[i]);
                        AGGR_CLEANUP();
-                       throw(MAL, "array.@4", "head of offset BAT %d is not 
aligned with head of offset BAT 0", i);
+                       throw(MAL, "array.@4", "head of offset BAT %d is not 
aligned with head of offset BAT 0 (base[0]: "OIDFMT", base[%d]: "OIDFMT", 
count[0]: "BUNFMT", count[%d]: "BUNFMT")",
+                               i, offbase, i, offbaseX, offcnt, i, offcntX);
                }
                if (bDims[i]->ttype != TYPE_@8) {
                        AGGR_CLEANUP();
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to