Changeset: 1ee5f2aa5a59 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1ee5f2aa5a59
Modified Files:
monetdb5/modules/mal/xid.c
Branch: xid
Log Message:
Debugging info
diffs (28 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
@@ -372,7 +372,7 @@ XIDcompress(Client cntxt, MalBlkPtr mb,
tt = b->ttype;
if ( isVIEWCOMBINE(b) || cnt == 0 || (ht == TYPE_void && tt !=
TYPE_oid) || (ht != TYPE_oid && tt == TYPE_void) ) {
/* no need to compress */
- mnstr_printf(cntxt->fdout,"#xid %s view %d\n",(cnt==0 ?
"empty":""), getArg(pci,1));
+ mnstr_printf(cntxt->fdout,"#xid %s view variable %d\n",(cnt==0
? "empty":""), getArg(pci,1));
BBPkeepref(*ret = b->batCacheid);
return MAL_SUCCEED;
}
@@ -392,13 +392,13 @@ XIDcompress(Client cntxt, MalBlkPtr mb,
skip_t = (ATOMtype(tt) != TYPE_oid || (ttx == TYPE_oid && tmax - tmin >
XID_VAL_MAX));
if ((skip_h || ht == TYPE_void) && (skip_t || tt == TYPE_void)) {
/* cannot (yet?) compress */
- mnstr_printf(cntxt->fdout,"#xid NIL or too large OID %d\n",
getArg(pci,1));
+ mnstr_printf(cntxt->fdout,"#xid NIL or too large OID " XIDFMT
":" XIDFMT", variable %d\n", hmax - hmin, tmax - tmin, getArg(pci,1));
BBPkeepref(*ret = b->batCacheid);
return MAL_SUCCEED;
}
if ( (!skip_h && htx == TYPE_oid && VIEWhparent(b)) || (!skip_t && ttx
== TYPE_oid && VIEWtparent(b)) ) {
/* no need to compress */
- mnstr_printf(cntxt->fdout,"#xid %s view %d\n",(cnt==0 ?
"empty":""), getArg(pci,1));
+ mnstr_printf(cntxt->fdout,"#xid %s view variable %d\n",(cnt==0
? "empty":""), getArg(pci,1));
BBPkeepref(*ret = b->batCacheid);
return MAL_SUCCEED;
}
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list