Changeset: 574a61188756 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=574a61188756
Modified Files:
monetdb5/modules/mal/xid.c
Branch: xid
Log Message:
XIDdecode(): fixed decoding of XIDBASE
reading from where we have not written does obviously neither work nor make
sense
diffs (15 lines):
diff --git a/monetdb5/modules/mal/xid.c b/monetdb5/modules/mal/xid.c
--- a/monetdb5/modules/mal/xid.c
+++ b/monetdb5/modules/mal/xid.c
@@ -552,8 +552,9 @@ XIDdecode(BUN *rtrn, XIDcolumn col, oid
*o++ = v + min;
break;
case XIDBASE:
- o++;
- min = *o++;
+ i++;
+ assert(i < lim);
+ min = (oid) col[i].count;
break;
default:
throw(MAL, "xid.decompress", "unknown col.x.tag in
XIDdecode()");
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list